Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
4.5.0
-
None
Description
1. Open a visual studio 2008 command prompt
2. cd c:\qt\4.5.0
3. set QTDIR=C:\Qt\4.5.0
4. set PATH=%QTDIR%\bin;%PATH%
5. configure
6. cd qmake
7. qmake
8. nmake
Will generate the following error.
cl c -FIqmake_pch.h -Yuqmake_pch.h -Fpdebug\qmake_pch.pch -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_UNICODETABLES -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQMAKE_OPENSOURCE_EDITION -DQT_NODLL -DQT_NO_THREAD -DQT_NO_QOBJECT -I"generators" -I"generators\unix" -I"generators\win32" -I"generators\mac" -I"..\include" -I"..\include\QtCore" -I"." -I"..\include\QtScript" -I"..\src\script" -I"..\mkspecs\win32-msvc2008" -Fodebug\ @C:\DOCUME~1\david\LOCALS~1\Temp\nmC03.tmp qlocale.cpp
..\src\corelib\tools\qlocale.cpp(1347) : error C2664: 'QSystemLocale::QSystemLocale(const QSystemLocale &)' : cannot convert parameter 1 from 'bool' to 'const QSystemLocale &'
Reason: cannot convert from 'bool' to 'const QSystemLocale'
No constructor could take the source type, or constructor overload resolution was ambiguous
..\src\corelib\tools\qlocale.cpp(1423) : error C2511: 'QSystemLocale::QSystemLocale(bool)' : overloaded member function not found in 'QSystemLocale'
c:\qt\4.5.0\include\qtcore\../../src/corelib/tools/qlocale.h(66) : see declaration of 'QSystemLocale'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
Doing steps 1-6,8 (skipping 7) works fine. That is, in the qmake
directory, the Makefile that is generated from 'configure' is fine, but
the Makefiles generated from qmake (Makefile, Makefile.Debug,
Makefile.Release) use precompiled headers and do not work.