More information:
I have set QMAKESPEC to win32-msvc2005 but I see that
configure-msvc2005.bat resets this to win32-msvc.
I have also added the include and lib directories from the
MSVC Platform SDK to the INCLUDE and LIB environment
variables.
I am doing the build in a Visual Studio 2005 Command Prompt
so that is running vsvars32.bat.
Here is all of the output when I run configure-msvc2005.bat:
E:\qt-3.3.5>configure-msvc2005.bat
Building Qt/Win Free for Microsoft Visual Studio 2005
install headers for bootstrapping...
1 file(s) copied.
1 file(s) copied.
building header copy tool...
cl -c -nologo -Zm200 -EHsc -O1
-DUNICODE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
-DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL
-DQT_NO_COMPRESS -D_CRT_SECURE_NO_DEPRECATE
-I"e:\qt-3.3.5\src\tools" -I"e:\qt-3.3.5\src\kernel"
-I"e:\qt-3.3.5\include" -I"e:\qt-3.3.5\include\private"
-I"e:\qt-3.3.5\qmake" -I"e:\qt-3.3.5\misc\link_includes"
-I"e:\qt-3.3.5\mkspecs\win32-msvc2005"
-Fotmp\@e:\DOCUME~1\heng\LOCALS~1\Temp\nmD.tmp
link_includes.cpp
e:\qt-3.3.5\src\tools\qglobal.h(760) : fatal error C1083:
Cannot open include file: 'qconfig.h': No such file or directory
NMAKE : fatal error U1077: '"D:\Program
Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
An error occured. Configuration aborted.
E:\qt-3.3.5>configure-msvc2005.bat
Building Qt/Win Free for Microsoft Visual Studio 2005
install headers for bootstrapping...
1 file(s) copied.
1 file(s) copied.
building header copy tool...
cl -c -nologo -Zm200 -EHsc -O1
-DUNICODE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
-DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL
-DQT_NO_COMPRESS -D_CRT_SECURE_NO_DEPRECATE
-I"e:\qt-3.3.5\src\tools" -I"e:\qt-3.3.5\src\kernel"
-I"e:\qt-3.3.5\include" -I"e:\qt-3.3.5\include\private"
-I"e:\qt-3.3.5\qmake" -I"e:\qt-3.3.5\misc\link_includes"
-I"e:\qt-3.3.5\mkspecs\win32-msvc2005"
-Fotmp\@e:\DOCUME~1\heng\LOCALS~1\Temp\nmD.tmp
link_includes.cpp
e:\qt-3.3.5\src\tools\qglobal.h(760) : fatal error C1083:
Cannot open include file: 'qconfig.h': No such file or directory
NMAKE : fatal error U1077: '"D:\Program
Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
An error occured. Configuration aborted.
To copy to clipboard, switch view to plain text mode
Some relevent envoronemnt variables:
DevEnvDir=D:\Program Files\Microsoft Visual Studio 8\Common7\IDE
INCLUDE=D:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE;D:\Program Files\Microsoft Platform SDK\include
LIB=D:\Program Files\Microsoft Visual Studio
8\VC\LIB;D:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\lib;D:\Program Files\Microsoft Platform SDK\lib
QMAKESPEC=win32-msvc2005
QTDIR=e:\qt-3.3.5
VCINSTALLDIR=D:\Program Files\Microsoft Visual Studio 8\VC
VCToolkitInstallDir=D:\Program Files\Microsoft Visual C++
Toolkit 2003\
VS80COMNTOOLS=D:\Program Files\Microsoft Visual Studio
8\Common7\Tools\
VSINSTALLDIR=D:\Program Files\Microsoft Visual Studio 8
DevEnvDir=D:\Program Files\Microsoft Visual Studio 8\Common7\IDE
INCLUDE=D:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE;D:\Program Files\Microsoft Platform SDK\include
LIB=D:\Program Files\Microsoft Visual Studio
8\VC\LIB;D:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\lib;D:\Program Files\Microsoft Platform SDK\lib
QMAKESPEC=win32-msvc2005
QTDIR=e:\qt-3.3.5
VCINSTALLDIR=D:\Program Files\Microsoft Visual Studio 8\VC
VCToolkitInstallDir=D:\Program Files\Microsoft Visual C++
Toolkit 2003\
VS80COMNTOOLS=D:\Program Files\Microsoft Visual Studio
8\Common7\Tools\
VSINSTALLDIR=D:\Program Files\Microsoft Visual Studio 8
To copy to clipboard, switch view to plain text mode
Would additional information help?
Is there a document that covers this in enough detail so that I can make sure that I have msvc setup correctly and that I have everything needed in the envoronment setup? I don't normally work in Windows so I am not sure if I have things corrently configured. In fact I am sure I don't but I don't know were to look to find the information needed to get this working.
Bookmarks