[Qt-interest] Problems compiling Qt on Windows

Helge Fredriksen hf at poseidon.no
Fri Feb 5 09:16:04 CET 2010


Hello!

I've just been trying to compile Qt from source on the 4.6-stable branch,
but I stumble upon the first stone. My platform is win32-msvc2005.

It seems that configure.exe isn't setting up the correct path when it's
attempting to compile qmake:

Here's the first thing configure.exe is trying at:

        cl -c -Foproject.obj  -W3 -nologo -O2  -I. -Igenerators
-Igenerators\unix -Igenerators\win32 -Igenerators\mac -I generators\symbian
 -IC:\qt\include -IC:\qt\include\QtCore  -IC:\qt\include
-IC:\qt\include\QtCore  -IC:\qt\src\corelib\global  -IC:\qt\src\corelib\xml
 -IC:\qt\mkspecs\win32-msvc2005   -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
-DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL  -DQT_NO_COMPRESS -DUNICODE
-DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD  -DQT_NO_QOBJECT
-DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED
 /Zc:wchar_t- -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp

and it fails instantly:

c:\qt\qmake\project.h(45) : fatal error C1083: Cannot open include file:
'qstringlist.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.

Searching for that file, I find it in c:\qt\src\corelib\tools which is _not_
part of the include statements setup by configure.

What the earth is happening here???

Best regards,
Helge Fredriksen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100205/527f1a21/attachment.html 


More information about the Qt-interest-old mailing list