[Qt-interest] QTCreator build problem
Andrew Brooks
arb at sat.dundee.ac.uk
Fri Apr 3 20:15:27 CEST 2009
On Thu, 02 Apr 2009 16:12:05 +0100, Thiago Macieira <thiago.macieira at trolltech.com> wrote:
> Em Quinta-feira 02 Abril 2009, às 15:13:26, Andrew Brooks escreveu:
>> I'm trying to build QT Creator on mandrake 10.1 x86 gcc 3.4.1 but am
>> getting these errors:
>>
>> .In file included from ../JavaScriptCore/wtf/RandomNumber.cpp:30:
>> ./JavaScriptCore/wtf/RandomNumberSeed.h:32:9: missing binary operator
>> before token "(" ../JavaScriptCore/wtf/RandomNumberSeed.h:36:13: missing
>> binary operator before token "("
> Try a more recent compiler.
g++ 3.4 is supported according to your supported platforms doc. and WebKit
is supported with g++ 3.4. I hope 3.4.1 is sufficient since that's what
comes with the OS ;-)
> In any case, that file is not part of Qt Creator. It's part of WebKit, so I
> assume you're trying to build Qt. Please include all commands you issued, how
> you configured Qt, etc., so that we may be of more help.
Sorry, you're right, I'm having such trouble getting everything to build
that I thought I'd succeeded with Qt and had moved onto Creator; obviously
not!
Here's my configure command:
./configure -v -R /usr/local/qt4/lib -I /software/qt/dbus-1.0.3 -opengl desktop
and then I typed make; simple as that!
Here's the resulting g++ command:
g++ -c -pipe -I/software/qt/dbus-1.0.3 -Wreturn-type -fno-strict-aliasing -O2 -D_REENTRANT -fPIC -DQT_SHARED -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DHAVE_STDINT_H -DBUILD_WEBKIT -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_DATABASE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_XPATH=1 -DENABLE_WML=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FILTERS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_VIDEO=0 -DENABLE_NETSCAPE_PLUGIN_API=1 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DBUILDING_QT__ -DXP_UNIX -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../mkspecs/linux-g++ -I. -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -Istorage -I../WebKit/qt/Api -I../../../../include/QtWebKit -I.rcc/release-shared -I. -I../JavaScriptCore -I../JavaScriptCore/ForwardingHeaders -I../JavaScriptCore/interpreter -I../JavaScriptCore/bytecode -I../JavaScriptCore/debugger -I../JavaScriptCore/parser -I../JavaScriptCore/runtime -I/software/qt/qt-all-opensource-src-4.5.0/src/3rdparty/webkit/WebCore/../JavaScriptCore/bindings -I../JavaScriptCore/wrec -I../JavaScriptCore/jit -I../JavaScriptCore/wtf -Itmp -I../JavaScriptCore -I../JavaScriptCore/parser -I../JavaScriptCore/bytecompiler -I../JavaScriptCore/debugger -I../JavaScriptCore/runtime -I../JavaScriptCore/wtf -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/interpreter -I../JavaScriptCore/jit -I../JavaScriptCore/profiler -I../JavaScriptCore/wrec -I../JavaScriptCore/API -I../../webkit -I../JavaScriptCore/ForwardingHeaders -I../JavaScriptCore/bytecode -I../JavaScriptCore/assembler -I../JavaScriptCore/pcre -I/software/qt/qt-all-opensource-src-4.5.0/src/3rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/tmp -Iplatform/qt -Iplatform/network/qt -Iplatform/graphics/filters -Iplatform/graphics/transforms -Iplatform/graphics/qt -Isvg/graphics/qt -Iloader -Ipage/qt -I../WebKit/qt/WebCoreSupport -I../WebKit/qt/Api -Ibridge/qt -I. -IForwardingHeaders -I../../webkit -Iplatform -Iplatform/animation -Iplatform/network -Iplatform/graphics -Isvg/animation -Isvg/graphics -Isvg/graphics/filters -Iplatform/sql -Iplatform/text -Iloader -Iloader/appcache -Iloader/archive -Iloader/icon -Icss -Idom -Ipage -Ipage/animation -Ibridge -Iediting -Irendering -Irendering/style -Ihistory -Iinspector -Ixml -Ihtml -Iwml -Ibindings/js -Isvg -Iplatform/image-decoders -Iplugins -Ibridge -Ibridge/c -Ibridge/qt -Igenerated -I../../sqlite -I/usr/X11R6/include -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/RandomNumber.o ../JavaScriptCore/wtf/RandomNumber.cpp
Andrew
More information about the Qt-interest-old
mailing list