compiling QT 4,8,0 in windows 7 x64 with visual studio 2010 gives makefile not found

本秂侑毒 提交于 2019-12-12 02:48:28

问题


i have a problem.. i'm trying to compile qt for vs 2010.. But i can't.. i'm following this guide: http://thomasstockx.blogspot.com/2011/03/qt-472-in-visual-studio-2010.html

i follow all the steps (with the exception of -shared config, because i want -static) but when i digit nmake the vs prompt tell me this:

Microsoft (R) Program Maintenance Utility versione 10.00.30319.01
Copyright (C) Microsoft Corporation. Tutti i diritti riservati.

NMAKE : fatal error U1064: MAKEFILE non trovato. Nessuna destinazione specificat
a.
Stop.

c:\Qt\4.8.0>

it didn't find the makefile... i try with 2 different pcs with the same version of qt, vs and windows and in both don't work so i do something wrong.. but i can't understand where..i triedsearching but with no luck... Thanks in advance...


回答1:


I would definitely install Perl and try again. If it's not needed why should it give that message at all? However, I don't seem to remember I had Perl installed so the error is rather strange. The tutorial was written originally for Qt 4.7.2 and worked up to 4.7.4. But I haven't tested it with 4.8. Before 4.8, VS2010 just wasn't supported by Qt, this has recently changed, so like Frank said, you should probably try to download the VS2010 packages since they now support it.



来源:https://stackoverflow.com/questions/8823786/compiling-qt-4-8-0-in-windows-7-x64-with-visual-studio-2010-gives-makefile-not-f

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!