Results 1 to 3 of 3

Thread: How to handle: QtCore/qconfig.h: No such file or directory ?

  1. #1
    Join Date
    Mar 2008
    Posts
    10
    Thanks
    1

    Default How to handle: QtCore/qconfig.h: No such file or directory ?

    Any guru could help me?

    I aim to install qt 4.3.3 on windows XP with MinGW. And my system has MS VC++ installed either.

    My configure command is:
    configure -platform win32-g++
    And the error:

    Creating qmake...
    g++ -c -oproject.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -IE:\shell\qt-win-opensource-src-4.3.3/src/corelib/arch/generic -IE:\shell\qt-win-opensource-src-4.3.3/include -IE:\shell\qt-win-opensource-src-4.3.3/include/QtCore -IE:\shell\qt-win-opensource-src-4.3.3/include -IE:\shell\qt-win-opensource-src-4.3.3/include/QtCore -IE:\shell\qt-win-opensource-src-4.3.3/src/corelib/global -IE:\shell\qt-win-opensource-src-4.3.3/include/QtScript -IE:\shell\qt-win-opensource-src-4.3.3/mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -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 -DQMAKE_OPENSOURCE_EDITION project.cpp
    In file included from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/qglobal.h:1,
    from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/../../src/corelib/tools/qalgorithms.h:40,
    from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/qalgorithms.h:1,
    from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/../../src/corelib/tools/qstringlist.h:40,
    from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/qstringlist.h:1,
    from project.h:40,
    from project.cpp:37:
    E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/../../src/corelib/global/qglobal.h:55:28: QtCore/qconfig.h: No such file or directory
    mingw32-make: *** [project.o] Error 1
    del project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.o option.o winmakefile.o projectgenerator.o property.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_nmake.o msvc_dsp.o msvc_vcproj.o msvc_objectmodel.o qbitarray.o qbuffer.o qbytearray.o qcryptographichash.o qvsnprintf.o qbytearraymatcher.o qconfig.o qdatetime.o qdir.o qdiriterator.o qfile.o qtemporaryfile.o qfileinfo.o qabstractfileengine.o qfsfileengine.o qfsfileengine_iterator.o qfsfileengine_win.o qfsfileengine_iterator_win.o qglobal.o qhash.o qiodevice.o qlibraryinfo.o qlistdata.o qlinkedlist.o qlocale.o qmap.o qregexp.o qstring.o qstringlist.o qtextstream.o quuid.o qvector.o qurl.o qsettings.o qsettings_win.o qvariant.o qmetatype.o qnumeric.o qscriptasm.o qscriptast.o qscriptastvisitor.o qscriptcompiler.o qscriptecmaarray.o qscriptecmaboolean.o qscriptecmacore.o qscriptecmadate.o qscriptecmafunction.o qscriptecmaglobal.o qscriptecmamath.o qscriptecmanumber.o qscriptecmaobject.o qscriptecmaregexp.o qscriptecmastring.o qscriptecmaerror.o qscriptcontext_p.o qscriptengine.o qscriptengine_p.o qscriptextenumeration.o qscriptextvariant.o qscriptcontext.o qscriptfunction.o qscriptgrammar.o qscriptlexer.o qscriptclassdata.o qscriptparser.o qscriptprettypretty.o qscriptsyntaxchecker.o qscriptvalue.o qscriptvalueimpl.o qscriptvalueiterator.o
    can't find E:\shell\qt-win-opensource-src-4.3.3\qmake\project.o
    g++ -c -oproject.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -IE:\shell\qt-win-opensource-src-4.3.3/src/corelib/arch/generic -IE:\shell\qt-win-opensource-src-4.3.3/include -IE:\shell\qt-win-opensource-src-4.3.3/include/QtCore -IE:\shell\qt-win-opensource-src-4.3.3/include -IE:\shell\qt-win-opensource-src-4.3.3/include/QtCore -IE:\shell\qt-win-opensource-src-4.3.3/src/corelib/global -IE:\shell\qt-win-opensource-src-4.3.3/include/QtScript -IE:\shell\qt-win-opensource-src-4.3.3/mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -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 -DQMAKE_OPENSOURCE_EDITION project.cpp
    In file included from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/qglobal.h:1,
    from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/../../src/corelib/tools/qalgorithms.h:40,
    from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/qalgorithms.h:1,
    from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/../../src/corelib/tools/qstringlist.h:40,
    from E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/qstringlist.h:1,
    from project.h:40,
    from project.cpp:37:
    E:/shell/qt-win-opensource-src-4.3.3/include/QtCore/../../src/corelib/global/qglobal.h:55:28: QtCore/qconfig.h: No such file or directory
    mingw32-make: *** [project.o] Error 1
    Building qmake failed, return code 2
    Your idea will be highly appreciated!!

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

    Default Re: How to handle: QtCore/qconfig.h: No such file or directory ?

    There must be an error running configure.exe - it creates qconfig.h/.cpp

  3. #3
    Join Date
    Mar 2008
    Posts
    10
    Thanks
    1

    Default Re: How to handle: QtCore/qconfig.h: No such file or directory ?

    Thank you, ChristianEhrlicher. I think you are right - qconfig.h should be the configure.exe's output.
    But the error happens during configure.exe's runtime, and how could i get qconfig.h when i can't run configure.exe successfully just because i have no qconfig.h?!!
    I went mad when installing qt on windows...

Similar Threads

  1. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  2. QApplication: No such file or directory
    By Dolinski in forum Newbie
    Replies: 4
    Last Post: 24th May 2007, 05:13
  3. errors while installing Qt4.2 in Linux
    By nimmyj in forum Installation and Deployment
    Replies: 11
    Last Post: 13th December 2006, 11:58
  4. create file in another directory
    By raphaelf in forum Qt Programming
    Replies: 3
    Last Post: 16th February 2006, 10:04
  5. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

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.