Tottish
25th September 2010, 10:40
Hi!
I'm new on building in general and especially in Win. So I'm on Win7 and I am trying to follow this guide since I'm trying MySQL with Qt for the first time:
Build Qt with MySQL (http://christopher.rasch-olsen.no/2009/04/14/qt-45-and-mysql-plugin-with-mingw-on-windows-xp/)
Everything go as planned (seems I don't have to do the Qmake fix section) until actually building Qt.
I'm executing the last command in the guide and it starts the process and outputs a butload of text in the commandprompt for an hour or so but after that I just get this:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -shared -Wl,--out-implib,c:\Qt\2010.02.1\qt\lib\libQtWebKitd4.a
-o ..\..\..\..\lib\QtWebKitd4.dll object_script.QtWebKitd.Debug -L"c:\Qt\2010.
02.1\qt\lib" -L"c:\Qt\2010.02.1\qt\lib" obj\debug\QtWebKitd_resource_res.o -lwin
mm -lgdi32 -luser32 -lwinmm -ladvapi32 -lgdi32 -lshell32 -lshlwapi -luser32 -lve
rsion -lphonond4 -lQtXmlPatternsd4 -lQtGuid4 -lQtNetworkd4 -lQtCored4
Creating library file: c:\Qt\2010.02.1\qt\lib\libQtWebKitd4.a
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x5a): undefi
ned reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x12c): undef
ined reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x1f1): undef
ined reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x293): undef
ined reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x335): undef
ined reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x820): undef
ined reference to `vtable for WebCore::QNetworkReplyHandler'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0xa9e): undef
ined reference to `vtable for WebCore::QNetworkReplyHandler'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0xd22): undef
ined reference to `WebCore::QNetworkReplyHandler::processQueuedItems ()'
./obj\debug\FrameLoaderClientQt.o:FrameLoaderClientQ t.cpp:(.text+0x314b): undefi
ned reference to `QWebPage::unsupportedContent(QNetworkReply*)'
./obj\debug\FrameLoaderClientQt.o:FrameLoaderClientQ t.cpp:(.text+0x425e): undefi
ned reference to `QWebPage::downloadRequested(QNetworkRequest const&)'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\..\..\..\lib\QtWebKitd4.dll] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/2010.02.1/qt/src/3rdparty/webkit/WebCo
re'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/2010.02.1/qt/src/3rdparty/webkit/WebCo
re'
mingw32-make: *** [sub-webkit-sub_src_target_ordered] Error 2
C:\Qt\2010.02.1\qt>cd src\plugins\sqldrivers\mysql
Any Idea on what might cause this? Seems to be some problem with the QNetworkReplyHandler...
If anyone have another easier guide on how to build MySQL plugin without using nmake or have an easy way to install and use nmake on Win7 so that I may follow the manual proceedings, please speak up, I don't necessarily need to use the mingw.
Cheers!
/Tottish
I'm new on building in general and especially in Win. So I'm on Win7 and I am trying to follow this guide since I'm trying MySQL with Qt for the first time:
Build Qt with MySQL (http://christopher.rasch-olsen.no/2009/04/14/qt-45-and-mysql-plugin-with-mingw-on-windows-xp/)
Everything go as planned (seems I don't have to do the Qmake fix section) until actually building Qt.
I'm executing the last command in the guide and it starts the process and outputs a butload of text in the commandprompt for an hour or so but after that I just get this:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -shared -Wl,--out-implib,c:\Qt\2010.02.1\qt\lib\libQtWebKitd4.a
-o ..\..\..\..\lib\QtWebKitd4.dll object_script.QtWebKitd.Debug -L"c:\Qt\2010.
02.1\qt\lib" -L"c:\Qt\2010.02.1\qt\lib" obj\debug\QtWebKitd_resource_res.o -lwin
mm -lgdi32 -luser32 -lwinmm -ladvapi32 -lgdi32 -lshell32 -lshlwapi -luser32 -lve
rsion -lphonond4 -lQtXmlPatternsd4 -lQtGuid4 -lQtNetworkd4 -lQtCored4
Creating library file: c:\Qt\2010.02.1\qt\lib\libQtWebKitd4.a
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x5a): undefi
ned reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x12c): undef
ined reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x1f1): undef
ined reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x293): undef
ined reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x335): undef
ined reference to `vtable for WebCore::FormDataIODevice'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0x820): undef
ined reference to `vtable for WebCore::QNetworkReplyHandler'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0xa9e): undef
ined reference to `vtable for WebCore::QNetworkReplyHandler'
./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHand ler.cpp:(.text+0xd22): undef
ined reference to `WebCore::QNetworkReplyHandler::processQueuedItems ()'
./obj\debug\FrameLoaderClientQt.o:FrameLoaderClientQ t.cpp:(.text+0x314b): undefi
ned reference to `QWebPage::unsupportedContent(QNetworkReply*)'
./obj\debug\FrameLoaderClientQt.o:FrameLoaderClientQ t.cpp:(.text+0x425e): undefi
ned reference to `QWebPage::downloadRequested(QNetworkRequest const&)'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\..\..\..\lib\QtWebKitd4.dll] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/2010.02.1/qt/src/3rdparty/webkit/WebCo
re'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/2010.02.1/qt/src/3rdparty/webkit/WebCo
re'
mingw32-make: *** [sub-webkit-sub_src_target_ordered] Error 2
C:\Qt\2010.02.1\qt>cd src\plugins\sqldrivers\mysql
Any Idea on what might cause this? Seems to be some problem with the QNetworkReplyHandler...
If anyone have another easier guide on how to build MySQL plugin without using nmake or have an easy way to install and use nmake on Win7 so that I may follow the manual proceedings, please speak up, I don't necessarily need to use the mingw.
Cheers!
/Tottish