PDA

View Full Version : Compile problem: Qt4.5.1 opensource, VisualStudio 2008 Standard



wally
8th May 2009, 20:50
Hello Everyone,

I'm having a problem comipling the QtOpenSource edition with VisualStudio2008. Under the VS command prompted I call configure:


configure -platform win32-msvc2008

I get the following error output:


Creating qmake...
cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -IC:\Qt\qt-win-opensource-src-4.5.1\include -IC:\Qt\qt-win-opensource-src-4.5.1\include\QtCore -IC:\Qt\qt-win-opensource-src-4.5.1\include -IC:\Qt\qt-win-opensource-src-4.5.1\include\QtCore -IC:\Qt\qt-win-opensource-src-4.5.1\src\corelib\global -IC:\Qt\qt-win-opensource-src-4.5.1\include\QtScript -IC:\Qt\qt-win-opensource-src-4.5.1\mkspecs\win32-msvc -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -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 -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
c:\qt\qt-win-opensource-src-4.5.1\include\qtcore\../../src/corelib/tools/qvector.h(758) : fatal error C1083: Cannot open include file: 'QtCore/QPointF': No such file or directory
del qbitarray.obj
del qbuffer.obj
del qcryptographichash.obj
del qlinkedlist.obj
del qfsfileengine.obj
del qfsfileengine_iterator.obj
del qbytearray.obj
del qvsnprintf.obj
del qbytearraymatcher.obj
del qdatetime.obj
del qdir.obj
del qdiriterator.obj
del qfile.obj
del qtemporaryfile.obj
del qabstractfileengine.obj
del qfsfileengine_win.obj
del qfsfileengine_iterator_win.obj
del qfileinfo.obj
del qglobal.obj
del qhash.obj
del qiodevice.obj
del qlistdata.obj
del qlocale.obj
del qmalloc.obj
del qmap.obj
del qregexp.obj
del qstring.obj
del qstringlist.obj
del qtextstream.obj
del qdatastream.obj
del quuid.obj
del qvector.obj
del qsettings.obj
del qlibraryinfo.obj
del qvariant.obj
del qurl.obj
del qsettings_win.obj
del qmetatype.obj
del project.obj
del main.obj
del makefile.obj
del unixmake.obj
del unixmake2.obj
del mingw_make.obj
del option.obj
del winmakefile.obj
del projectgenerator.obj
del property.obj
del meta.obj
del makefiledeps.obj
del metamakefile.obj
del xmloutput.obj
del borland_bmake.obj
del msvc_nmake.obj
del msvc_dsp.obj
del msvc_vcproj.obj
del msvc_objectmodel.obj
del pbuilder_pbx.obj
del qnumeric.obj -del qscriptasm.obj -del qscriptast.obj -del qscriptastvisitor.obj -del qscriptcompiler.obj -del qscriptecmaarray.obj -del qscriptecmaboolean.obj -del qscriptecmacore.obj -del qscriptecmadate.obj -del qscriptecmafunction.obj -del qscriptecmaglobal.obj -del qscriptecmamath.obj -del qscriptecmanumber.obj -del qscriptecmaobject.obj -del qscriptecmaregexp.obj -del qscriptecmastring.obj -del qscriptecmaerror.obj -del qscriptcontext_p.obj -del qscriptengine.obj -del qscriptengine_p.obj -del qscriptengineagent.obj -del qscriptextenumeration.obj -del qscriptextvariant.obj -del qscriptcontext.obj -del qscriptcontextinfo.obj -del qscriptfunction.obj -del qscriptgrammar.obj -del qscriptlexer.obj -del qscriptclassdata.obj -del qscriptparser.obj -del qscriptprettypretty.obj -del qscriptsyntaxchecker.obj -del qscriptclass.obj -del qscriptclasspropertyiterator.obj -del qscriptstring.obj -del qscriptvalue.obj -del qscriptvalueimpl.obj -del qscriptvalueiterator.obj -del qscriptvalueiteratorimpl.obj
del vc60.pdb
del vc70.pdb
del qmake.pdb
del qmake.ilk
del qmake.tds
cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -IC:\Qt\qt-win-opensource-src-4.5.1\include -IC:\Qt\qt-win-opensource-src-4.5.1\include\QtCore -IC:\Qt\qt-win-opensource-src-4.5.1\include -IC:\Qt\qt-win-opensource-src-4.5.1\include\QtCore -IC:\Qt\qt-win-opensource-src-4.5.1\src\corelib\global -IC:\Qt\qt-win-opensource-src-4.5.1\include\QtScript -IC:\Qt\qt-win-opensource-src-4.5.1\mkspecs\win32-msvc -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -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 -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
c:\qt\qt-win-opensource-src-4.5.1\include\qtcore\../../src/corelib/tools/qvector.h(758) : fatal error C1083: Cannot open include file: 'QtCore/QPointF': No such file or directory
Building qmake failed, return code 2


The problem appears to be that it cannot find QtCore/QPointF. I cannot figure out how to solve this problem? Any help?

Thanks,
Darryl

garth
27th May 2009, 17:42
I'm having exactly the same error with 4.5.1 on windows XP with VS2008.

Any solutions?

garth
28th May 2009, 15:42
I've just built a new XP machine, this time with VS2005, and I'm still getting the same error.