PDA

View Full Version : How to handle: QtCore/qconfig.h: No such file or directory ?



owen_263
4th April 2008, 15:02
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!!

ChristianEhrlicher
7th April 2008, 06:30
There must be an error running configure.exe - it creates qconfig.h/.cpp

owen_263
7th April 2008, 09:54
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...