Здравствуйте.
Почти месяц пытаюсь собрать Qt и gcc-4.4.0(Mingw). В общем все это для поддержки gcc-4.4.0, без него не как!
Пробовал:
http://ftp://ftp.trolltech.com/qt/source/qt-all-opensource-src-4.5.2.tar.gzhttp://ftp://ftp.trolltech.com/qt/source/qt-all-opensource-src-4.5.2.tar.bz2http://ftp://ftp.trolltech.com/qt/source/qt-all-opensource-src-4.5.2.zipПри сборке WebKit получаю такую ошибку:
Bash
C:/qt/bin/moc.exe -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPO
RT -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_MAKEDLL -DQT_NO_CAST_TO_A
SCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -D_USE_MATH_DEFINES
-DBUILD_WEBKIT -D_HAS_TR1=0 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STO
RAGE=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_A
S_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_VIDEO=0 -DENABLE_NETSCAPE_PLUGIN_API=1 -DW
TF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DBUILDING_QT__ -DSQLITE_CORE -
DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_DLL -DQT_GUI_LIB -DQT_NE
TWORK_LIB -DQT_CORE_LIB @tmp\moc\debug_shared\mocinclude.tmp -D__GNUC__ -DWIN32
../JavaScriptCore/wtf/qt/MainThreadQt.cpp -o tmp/moc/debug_shared/MainThreadQt.m
oc
moc: Cannot open options file specified with @
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name
-nw do not display warnings
@<file> read additional options from file
-v display version of moc
gmake[2]: *** [tmp/moc/debug_shared/MainThreadQt.moc] Error 1
gmake[2]: Leaving directory `c:/qt/src/3rdparty/webkit/WebCore'
Файла
tmp\moc\debug_shared\mocinclude.tmp нет. И не понятно откуда он там должен взяться.
При попытке собрать сорсы из
http://get.qt.nokia.com/qtsdk/qt-sdk-win-opensource-2009.03.1.exe, получаю такую ошибку:
Bash
Creating library file: c:/Qt/qt/lib/libQtWebKitd4.a
./tmp/obj/debug_shared/QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x5a): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp/obj/debug_shared/QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x12c): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp/obj/debug_shared/QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x1f1): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp/obj/debug_shared/QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x293): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp/obj/debug_shared/QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x335): undefined reference to `vtable for WebCore::FormDataIODevice'
./tmp/obj/debug_shared/QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x898): undefined reference to `vtable for WebCore::QNetworkReplyHandler'
./tmp/obj/debug_shared/QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0xad0): undefined reference to `vtable for WebCore::QNetworkReplyHandler'
./tmp/obj/debug_shared/FrameLoaderClientQt.o:FrameLoaderClientQt.cpp:(.text+0x2fd9): undefined reference to `QWebPage::unsupportedContent(QNetworkReply*)'
./tmp/obj/debug_shared/FrameLoaderClientQt.o:FrameLoaderClientQt.cpp:(.text+0x3b4d): undefined reference to `QWebPage::downloadRequested(QNetworkRequest const&)
'
collect2: ld returned 1 exit status
Мне нужен Phonon и WebKit. Phonon собирается в обоих случаях.
OS WinXP.