Solution for qmake errors caused by Environment Changes During QT creator project migration

Source: Internet
Author: User

1. Problem description: port the QT project from the machine, and the prompt is displayed:

Qt Creator finds a setting file created by other development environments, perhaps from other machines. The user setting file contains specific environment settings and should not be copied to other application environments.
Do you still want to load the setting file?

Select Yes, load the project, and click Run. An error message is displayed:
 
An error occurred while building the project XXX (target: desktop) when the build step 'qmake' is executed

2. solution:

1) set "***. pro. user, and then re-open "***. pro "that is, the original is ***. pro. the user sets a file for his/her machine. After the local machine is opened, the local *** will be automatically created ***. pro. shows the user file:

 

 

2) If the problem persists in the previous step, you can delete the XXXX-Build-Desktop Folder and check whether it works;

 

(Original from: http://blog.csdn.net/fjssharpsword/article/details/7238379)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.