PDA

View Full Version : missing qconfig.h during configure



hvengel
7th May 2006, 02:37
I downloaded the qt-3.3.5 sources from the qt-free site on sourceforce. The reason that I am installing this to to assist the person on my project team who is handling the Windows port. When I run configure.bat it fails with the following message:

e:\qt-3.3.5\src\tools\qglobal.h(760) : fatal error C1083: Cannot open include file: 'qconfig.h': No such file or directory

I am using MSVC Express edition 2005 (final version not beta) and I have the platform SDK installed. As far as I can tell this is correctly configured but I nornmally do my developement work on Linux so this may not be the case.

It appears that the qconfig.h file should be created by the configure script but is not for some reason.

I am clearly missing something. Are there additional steps that I need to do before I run configure?

hvengel
7th May 2006, 21:11
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.



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

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.

ChristianEhrlicher
8th May 2006, 08:14
Please read the project information at sf.net:

"Please keep in mind that we have *nothing* to do with the official Qt/win from Trolltech..."