compiling QT 4,8,0 in windows 7 x64 with visual st

2019-08-26 21:52发布

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...

标签: qt nmake
1条回答
趁早两清
2楼-- · 2019-08-26 22:38

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.

查看更多
登录 后发表回答