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