Hi,
i originally ran configure with platform set to visual studio 6, but wanted to change that, so I tried to run nmake clean, but was not sucessful. I then uninstalled qt 4.2.3, reinstalled, ran configure -platform win32-msvc2005 and now configure doesn't build anymore. The complete output is attached in the text file included, but here is most of it, without the list of obj files it fails to find.
Creating qmake...
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32
-Igenerators\mac -I..\src\corelib\arch\generic -I..\include -I..\src\tools -I..\include\QtCore -I
..\mkspecs\win32-msvc -I..\src\3rdparty\md5 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPO
NENT -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 /Zc:wchar_t- project.cpp
Command line warning D4002 : ignoring unknown option '/Zc'
Command line warning D4002 : ignoring unknown option '/Z:'
Command line warning D4002 : ignoring unknown option '/Zw'
Command line warning D4002 : ignoring unknown option '/Zc'
Command line warning D4002 : ignoring unknown option '/Zh'
Command line warning D4002 : ignoring unknown option '/Zr'
Command line warning D4002 : ignoring unknown option '/Z_'
Command line warning D4002 : ignoring unknown option '/Zt'
Command line warning D4002 : ignoring unknown option '/Z-'
project.cpp
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2146: syntax error : missing ';'
before identifier 'i'
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'i' : missing storage-clas
s or type specifiers
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'e' : missing storage-clas
s or type specifiers
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2146: syntax error : missing '
;' before identifier 'qLowerBound'
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2433: 'const_iterator' : 'inli
ne' not permitted on data declarations
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2501: 'const_iterator' : missi
ng storage-class or type specifiers
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : fatal error C1903: unable to recover
from previous error(s); stopping compilation
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
del qbitarray.obj
Could Not Find C:\Qt\4.2.3\qmake\qbitarray.obj
del qbuffer.obj
Could Not Find C:\Qt\4.2.3\qmake\qbuffer.obj
del qfsfileengine.obj
Could Not Find ...
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32
-Igenerators\mac -I..\src\corelib\arch\generic -I..\include -I..\src\tools -I..\include\QtCore -I
..\mkspecs\win32-msvc -I..\src\3rdparty\md5 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPO
NENT -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 /Zc:wchar_t- project.cpp
Command line warning D4002 : ignoring unknown option '/Zc'
Command line warning D4002 : ignoring unknown option '/Z:'
Command line warning D4002 : ignoring unknown option '/Zw'
Command line warning D4002 : ignoring unknown option '/Zc'
Command line warning D4002 : ignoring unknown option '/Zh'
Command line warning D4002 : ignoring unknown option '/Zr'
Command line warning D4002 : ignoring unknown option '/Z_'
Command line warning D4002 : ignoring unknown option '/Zt'
Command line warning D4002 : ignoring unknown option '/Z-'
project.cpp
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2146: syntax error : missing ';'
before identifier 'i'
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'i' : missing storage-clas
s or type specifiers
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'e' : missing storage-clas
s or type specifiers
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2146: syntax error : missing '
;' before identifier 'qLowerBound'
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2433: 'const_iterator' : 'inli
ne' not permitted on data declarations
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2501: 'const_iterator' : missi
ng storage-class or type specifiers
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : fatal error C1903: unable to recover
from previous error(s); stopping compilation
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Building qmake failed, return code 2
Bookmarks