[Qt-interest] Newbie: configure.exe error

Vitaly vitalyx at gmail.com
Fri Jun 5 22:31:48 CEST 2009


Hello,

I've cloned git://gitorious.org/qt/qt.git and trying to build it, but 
configure fails.
I have the Qt SDK 2009.2 Open Source installed in "C:\Qt\2009.02", the 
spanshot is located at "C:\Qt\qt",
and the environment variables are:
QTDIR=C:\Qt\qt
PATH=C:\Qt\2009.02\mingw\bin;%QTDIR%\bin
INCLUDE=C:\Qt\2009.02\mingw\include;C:\Qt\2009.02\qt\include
LIB=C:\Qt\2009.02\mingw\lib;C:\Qt\2009.02\qt\lib
QMAKESPEC=%QTDIR%\mkspecs\win32-g++

And here is what "configure" returns (it's 899 lines, so I'm attaching a 
link to the TXT file):
http://vitalyk.com/error.txt

A few first lines from the output:

Creating qmake...
g++ -c -oproject.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -IC:\Qt
\qt/include -IC:\Qt\qt/include/QtCore -IC:\Qt\qt/include -IC:\Qt\qt/include/QtCore -IC:\Qt\qt/src/co
relib/global -IC:\Qt\qt/include/QtScript -IC:\Qt\qt/mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNIC
ODETABLES -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 project.cpp:42:
project.h:45:25: qstringlist.h: No such file or directory
project.h:46:25: qtextstream.h: No such file or directory
project.h:47:21: qstring.h: No such file or directory
project.h:48:20: qstack.h: No such file or directory
project.h:49:18: qmap.h: No such file or directory
project.h:50:23: qmetatype.h: No such file or directory
project.h:57:28: qscriptengine.h: No such file or directory
In file included from project.cpp:42:
project.h:62: error: expected constructor, destructor, or type conversion before "class"
project.h:62: error: expected `,' or `;' before "class"
project.h:77: error: `uint' does not name a type
project.h:84: error: `QScriptEngine' does not name a type
project.h:86: error: ISO C++ forbids declaration of `QStack' with no type
project.h:86: error: expected `;' before '<' token

Am I doing something wrong?

Regards,
Vitaly





More information about the Qt-interest-old mailing list