Results 1 to 3 of 3

Thread: Failed build of SDK 2009.3.1

  1. #1
    Join Date
    Sep 2009
    Posts
    2
    Qt products
    Qt4 Qt Jambi
    Platforms
    Unix/X11 Windows

    Default Failed build of SDK 2009.3.1

    I downloaded opensourse sdk 2009.3.1 for Windows (with mingw) and tried to configure and rebuild QT. It failed - and fails in the same way as far as I can tell if I try to build it with Microsoft C++.

    Anyone else observed this?

    The end of the build looks like this:

    cd src\3rdparty\webkit\WebCore\ && "C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\nmake.exe" -f Makefile
    "C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\nmake.exe" -f Makefile.Debug all
    link /LIBPATH:"c:\Qt\2009.03\qt\lib" /LIBPATH:"c:\Qt\2009.03\qt\lib" /NOLOGO /DEBUG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\debug_shared\QtWebKitd.inter mediate.manifest" /VERSION:4.52 /OUT:..\..\..\..\lib\QtWebKitd4.dll @C:\Users\james\AppData\Local\Temp\nmF308.tmp
    Creating library ..\..\..\..\lib\QtWebKitd4.lib and object ..\..\..\..\lib\QtWebKitd4.exp
    QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall WebCore::FormDataIODevice::metaObject(void)const " (?metaObject@FormDataIODevice@WebCore@@UBEPBUQMeta Object@@XZ)
    QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall WebCore::FormDataIODevice::qt_metacast(char const *)" (?qt_metacast@FormDataIODevice@WebCore@@UAEPAXPBD@ Z)
    QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WebCore::FormDataIODevice::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@FormDataIODevice@WebCore@@UAEHW4Call @QMetaObject@@HPAPAX@Z)
    QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall WebCore::QNetworkReplyHandler::metaObject(void)con st " (?metaObject@QNetworkReplyHandler@WebCore@@UBEPBUQ MetaObject@@XZ)
    QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall WebCore::QNetworkReplyHandler::qt_metacast(char const *)" (?qt_metacast@QNetworkReplyHandler@WebCore@@UAEPAX PBD@Z)
    QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WebCore::QNetworkReplyHandler::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@QNetworkReplyHandler@WebCore@@UAEHW4 Call@QMetaObject@@HPAPAX@Z)
    FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol "protected: void __thiscall QWebPage::unsupportedContent(class QNetworkReply *)" (?unsupportedContent@QWebPage@@IAEXPAVQNetworkRepl y@@@Z) referenced in function "public: virtual void __thiscall WebCore::FrameLoaderClientQt::download(class WebCore::ResourceHandle *,struct WebCore::ResourceRequest const &,struct WebCore::ResourceRequest const &,class WebCore::ResourceResponse const &)" (?download@FrameLoaderClientQt@WebCore@@UAEXPAVRes ourceHandle@2@ABUResourceRequest@2@1ABVResourceRes ponse@2@@Z)
    FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol "protected: void __thiscall QWebPage::downloadRequested(class QNetworkRequest const &)" (?downloadRequested@QWebPage@@IAEXABVQNetworkReque st@@@Z) referenced in function "public: virtual void __thiscall WebCore::FrameLoaderClientQt::startDownload(struct WebCore::ResourceRequest const &)" (?startDownload@FrameLoaderClientQt@WebCore@@UAEXA BUResourceRequest@2@@Z)
    ..\..\..\..\lib\QtWebKitd4.dll : fatal error LNK1120: 8 unresolved externals

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Failed build of SDK 2009.3.1

    i suppose the sdk is tightly coupled with mingw... for vc you should download the qt sources only.

  3. #3
    Join Date
    Oct 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Failed build of SDK 2009.3.1

    I encountered the same problem with Qt SDK 2009.4. I found another user who solved the problem by adding -phonon to configure.exe, which seems suspect to me, but I am trying it now.

    One thing I know for sure, the Qt 4.6.0-beta1 source does compile just fine under the VC 2008 Express command line.

Similar Threads

  1. QWT fails in debug build
    By steg90 in forum Qwt
    Replies: 1
    Last Post: 11th November 2011, 07:53
  2. Replies: 1
    Last Post: 19th October 2009, 19:44
  3. QT 4.5.1 failed to build with gtk/gtk.h: No such file or directory
    By doggrant in forum Installation and Deployment
    Replies: 5
    Last Post: 28th August 2009, 16:55
  4. [QtWebKit] - MSVC2005 WebCore build failed
    By aikidorb in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd June 2008, 12:19
  5. Build error on mac Platform::WaitMouseMoved
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 12th July 2007, 14:18

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.