Qt: Allow building project from any directory. #4605