Results 1 to 5 of 5

Thread: Can't build Qt with MySQL

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Posts
    77
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Can't build Qt with MySQL

    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

    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:


    Qt Code:
    1. g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
    2. oc -mthreads -Wl -shared -Wl,--out-implib,c:\Qt\2010.02.1\qt\lib\libQtWebKitd4.a
    3. -o ..\..\..\..\lib\QtWebKitd4.dll object_script.QtWebKitd.Debug -L"c:\Qt\2010.
    4. 02.1\qt\lib" -L"c:\Qt\2010.02.1\qt\lib" obj\debug\QtWebKitd_resource_res.o -lwin
    5. mm -lgdi32 -luser32 -lwinmm -ladvapi32 -lgdi32 -lshell32 -lshlwapi -luser32 -lve
    6. rsion -lphonond4 -lQtXmlPatternsd4 -lQtGuid4 -lQtNetworkd4 -lQtCored4
    7. Creating library file: c:\Qt\2010.02.1\qt\lib\libQtWebKitd4.a
    8. ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x5a): undefi
    9. ned reference to `vtable for WebCore::FormDataIODevice'
    10. ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x12c): undef
    11. ined reference to `vtable for WebCore::FormDataIODevice'
    12. ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x1f1): undef
    13. ined reference to `vtable for WebCore::FormDataIODevice'
    14. ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x293): undef
    15. ined reference to `vtable for WebCore::FormDataIODevice'
    16. ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x335): undef
    17. ined reference to `vtable for WebCore::FormDataIODevice'
    18. ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x820): undef
    19. ined reference to `vtable for WebCore::QNetworkReplyHandler'
    20. ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0xa9e): undef
    21. ined reference to `vtable for WebCore::QNetworkReplyHandler'
    22. ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0xd22): undef
    23. ined reference to `WebCore::QNetworkReplyHandler::processQueuedItems()'
    24. ./obj\debug\FrameLoaderClientQt.o:FrameLoaderClientQt.cpp:(.text+0x314b): undefi
    25. ned reference to `QWebPage::unsupportedContent(QNetworkReply*)'
    26. ./obj\debug\FrameLoaderClientQt.o:FrameLoaderClientQt.cpp:(.text+0x425e): undefi
    27. ned reference to `QWebPage::downloadRequested(QNetworkRequest const&)'
    28. collect2: ld returned 1 exit status
    29. mingw32-make[2]: *** [..\..\..\..\lib\QtWebKitd4.dll] Error 1
    30. mingw32-make[2]: Leaving directory `C:/Qt/2010.02.1/qt/src/3rdparty/webkit/WebCo
    31. re'
    32. mingw32-make[1]: *** [debug-all] Error 2
    33. mingw32-make[1]: Leaving directory `C:/Qt/2010.02.1/qt/src/3rdparty/webkit/WebCo
    34. re'
    35. mingw32-make: *** [sub-webkit-sub_src_target_ordered] Error 2
    36.  
    37. C:\Qt\2010.02.1\qt>cd src\plugins\sqldrivers\mysql
    To copy to clipboard, switch view to plain text mode 


    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
    Last edited by Tottish; 25th September 2010 at 10:55. Reason: bettter title and one more comment

Similar Threads

  1. Replies: 1
    Last Post: 13th January 2010, 23:35
  2. Can not build Qt 4.6.
    By steve_smith in forum Installation and Deployment
    Replies: 1
    Last Post: 12th January 2010, 15:03
  3. Moving from QT 4.5 shared build to QT 4.5.2 static build
    By extrakun in forum Qt Programming
    Replies: 0
    Last Post: 26th October 2009, 09:49
  4. Qt build
    By semden in forum Newbie
    Replies: 1
    Last Post: 2nd October 2008, 17:17
  5. Replies: 3
    Last Post: 28th December 2007, 11:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.