Compile another user's QT4 project and prompt qmake error Solution

Source: Internet
Author: User

Compile another user's QT4 project and prompt qmake error Solution

######################################## #######################################

# Operating System: Win7 spam version
# QT: 4.8.1

# Write By Kinglate 20130806

######################################## #######################################

1. Recently I wrote a Qt4 mini-program with an old-fashioned machine. After I took the entire project to Windows 7 and opened it in this book, the following message is displayed:

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/213202H50-0.png "style =" float: none; "title =" image 1.png "/>

After clicking yes, the following error message is displayed during compilation:

An error occurred while building the project client (target: desktop)

When the build step 'qmake' is executed

Very helpless. The Qt versions used by the two computers are exactly the same, so we still encountered such a problem! In the past, we used to re-build the same project. Code copies in files instead of re-compilation can only be passed. Although the method is stupid, it does not take a long time, but it will be annoying when there are too many files. The solution is as follows:

2. Method 1:

A. Open the project of another machine and select "no" when the following prompt appears"

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/213202J08-1.png "style =" float: none; "title =" image 2.png "/>

B. The following prompt is displayed after "no" is selected:

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/2132025B6-2.png "style =" float: none; "title =" image 3.png "/>

Click "finish" to complete the compilation! Of course, this QT4 program cannot be compiled.

3. Method 2:

C. Open the project of another machine and select "yes" when the following prompt appears"

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/2132025021-3.png "title =" image 4.png "style =" float: none; "/>

D. Select "yes" and open "project". Expand "invalid Qt version" in "Qt version:" and select your own QT version as Qt 4.8.1.

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/2132024L4-4.png "title =" image 5.png "style =" float: none; "/>


This article from the "Li junliang BKJIA technology blog" blog, please be sure to keep this source http://jliangli.blog.51cto.com/6382055/1265571

Related Article

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.