Results 1 to 3 of 3

Thread: missing qconfig.h during configure

  1. #1
    Join Date
    Mar 2006
    Posts
    74
    Thanks
    1
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default missing qconfig.h during configure

    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?

  2. #2
    Join Date
    Mar 2006
    Posts
    74
    Thanks
    1
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: missing qconfig.h during configure

    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:

    Qt Code:
    1. E:\qt-3.3.5>configure-msvc2005.bat
    2. Building Qt/Win Free for Microsoft Visual Studio 2005
    3. install headers for bootstrapping...
    4. 1 file(s) copied.
    5. 1 file(s) copied.
    6. building header copy tool...
    7. cl -c -nologo -Zm200 -EHsc -O1
    8. -DUNICODE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
    9. -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL
    10. -DQT_NO_COMPRESS -D_CRT_SECURE_NO_DEPRECATE
    11. -I"e:\qt-3.3.5\src\tools" -I"e:\qt-3.3.5\src\kernel"
    12. -I"e:\qt-3.3.5\include" -I"e:\qt-3.3.5\include\private"
    13. -I"e:\qt-3.3.5\qmake" -I"e:\qt-3.3.5\misc\link_includes"
    14. -I"e:\qt-3.3.5\mkspecs\win32-msvc2005"
    15. -Fotmp\@e:\DOCUME~1\heng\LOCALS~1\Temp\nmD.tmp
    16. link_includes.cpp
    17. e:\qt-3.3.5\src\tools\qglobal.h(760) : fatal error C1083:
    18. Cannot open include file: 'qconfig.h': No such file or directory
    19. NMAKE : fatal error U1077: '"D:\Program
    20. Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'
    21. Stop.
    22.  
    23. An error occured. Configuration aborted.
    To copy to clipboard, switch view to plain text mode 


    Some relevent envoronemnt variables:

    Qt Code:
    1. DevEnvDir=D:\Program Files\Microsoft Visual Studio 8\Common7\IDE
    2.  
    3. INCLUDE=D:\Program Files\Microsoft Visual Studio
    4. 8\VC\INCLUDE;D:\Program Files\Microsoft Platform SDK\include
    5.  
    6. LIB=D:\Program Files\Microsoft Visual Studio
    7. 8\VC\LIB;D:\Program Files\Microsoft Visual Studio
    8. 8\SDK\v2.0\lib;D:\Program Files\Microsoft Platform SDK\lib
    9.  
    10. QMAKESPEC=win32-msvc2005
    11.  
    12. QTDIR=e:\qt-3.3.5
    13.  
    14. VCINSTALLDIR=D:\Program Files\Microsoft Visual Studio 8\VC
    15.  
    16. VCToolkitInstallDir=D:\Program Files\Microsoft Visual C++
    17. Toolkit 2003\
    18.  
    19. VS80COMNTOOLS=D:\Program Files\Microsoft Visual Studio
    20. 8\Common7\Tools\
    21.  
    22. 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.

  3. #3
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: missing qconfig.h during configure

    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..."

Similar Threads

  1. Qt 4.2.3 Configure Issue...
    By amcdaniel in forum Installation and Deployment
    Replies: 4
    Last Post: 13th May 2007, 12:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.