Open the .pro file to open Qt project file.
When prompted to build the project ": -1: Warning: build directory must be the same directory as the source directory."
Solutions are as follows:
Deleted xxx.pro.user file
Reopen the .pro file
Automatic pop-up re-set target
After setting successfully constructed.
note:
Directory project file can not appear in Chinese.