[Qt-interest] Error linking 4.5.2 in Windows with Visual C++ 2008SP1

Tiago Correia tiago at cnotinfor.pt
Sun Jun 28 00:01:13 CEST 2009


I'm using the SDK that comes with Visual Studio. But for compiling phonon
plugin you need DirectX SDK. Do you have it installed?

On Sat, Jun 27, 2009 at 10:53 AM, RFOG <no at mail.com> wrote:

> I've reinstalled and now got other undefined symbols at link time.
>
> Are you using SDK 6.0A (That comes with Visual Studio) or the
> definitive for Vista: 6.1?
>
> I'm using last one. 6.0A has some bugs that 6.1 not.
>
> On Fri, 26 Jun 2009 00:01:43 +0100, Tiago Correia <tiago at cnotinfor.pt>
> wrote:
>
> >Hi,
> >I've just downloaded from git server the master version of Qt 4.5.2, and
> >I've compiled Qt with out any problems. Same configuration Windows +
> Visual
> >Studio 2008 SP1.
> >
> >On Thu, Jun 25, 2009 at 9:43 PM, RFOG <no at mail.com> wrote:
> >
> >> Hello all.
> >>
> >> I'm trying to recompile QT 4.5.2 with Visual C++ 2008SP1 but I get
> >> some unresolved symbols while linking WebKit.
> >>
> >> First error is:
> >>
> >> QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol
> >> "public: virtual struct QMetaObject const * __thiscall
> >> WebCore::FormDataIODevice::metaObject(void)const "
> >> (?metaObject at FormDataIODevice@WebCore@@UBEPBUQMetaObject@@XZ)
> >>
> >>
> >> Full error message:
> >>
> >>        link /LIBPATH:"c:\Qt\4.5.2-vc\qt\lib"
> >> /LIBPATH:"c:\Qt\4.5.2-vc\qt\lib" /
> >> NOLOGO /DEBUG /DLL /MANIFEST
> >> /MANIFESTFILE:"tmp\obj\debug_shared\QtWebKitd.inter
> >> mediate.manifest" /VERSION:4.52 /OUT:..\..\..\..\lib\QtWebKitd4.dll
> >> @C:\Users\RF
> >> OG\AppData\Local\Temp\nm5570.tmp
> >>   Creating library ..\..\..\..\lib\QtWebKitd4.lib and object
> >> ..\..\..\..\lib\Qt
> >> WebKitd4.exp
> >> QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol
> >> "public: vi
> >> rtual struct QMetaObject const * __thiscall
> >> WebCore::FormDataIODevice::metaObjec
> >> t(void)const "
> >> (?metaObject at FormDataIODevice@WebCore@@UBEPBUQMetaObject@@XZ)
> >> QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol
> >> "public: vi
> >> rtual void * __thiscall WebCore::FormDataIODevice::qt_metacast(char
> >> const *)" (?
> >> qt_metacast at FormDataIODevice@WebCore@@UAEPAXPBD at Z)
> >> QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol
> >> "public: vi
> >> rtual int __thiscall WebCore::FormDataIODevice::qt_metacall(enum
> >> QMetaObject::Ca
> >> ll,int,void * *)"
> >> (?qt_metacall at FormDataIODevice@WebCore@@UAEHW4Call at QMetaObject
> >> @@HPAPAX at Z)
> >> QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol
> >> "public: vi
> >> rtual struct QMetaObject const * __thiscall
> >> WebCore::QNetworkReplyHandler::metaO
> >> bject(void)const "
> >> (?metaObject at QNetworkReplyHandler@WebCore@@UBEPBUQMetaObject@
> >> @XZ)
> >> QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol
> >> "public: vi
> >> rtual void * __thiscall
> >> WebCore::QNetworkReplyHandler::qt_metacast(char const *)
> >> " (?qt_metacast at QNetworkReplyHandler@WebCore@@UAEPAXPBD at Z)
> >> QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol
> >> "public: vi
> >> rtual int __thiscall WebCore::QNetworkReplyHandler::qt_metacall(enum
> >> QMetaObject
> >> ::Call,int,void * *)" (?qt_metacall at QNetworkReplyHandler@WebCore@
> >> @UAEHW4Call at QMe
> >> taObject@@HPAPAX at Z)
> >> FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol
> >> "protected:
> >> void __thiscall QWebPage::unsupportedContent(class QNetworkReply *)"
> >> (?unsupport
> >> edContent at QWebPage@@IAEXPAVQNetworkReply@@@Z) referenced in function
> >> "public: vi
> >> rtual void __thiscall WebCore::FrameLoaderClientQt::download(class
> >> WebCore::Reso
> >> urceHandle *,struct WebCore::ResourceRequest const &,struct
> >> WebCore::ResourceReq
> >> uest const &,class WebCore::ResourceResponse const &)"
> >> (?download at FrameLoaderCli
> >> entQt at WebCore@@UAEXPAVResourceHandle at 2@ABUResourceRequest at 2
> >> @1ABVResourceResponse
> >> @2@@Z)
> >> FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol
> >> "protected:
> >> void __thiscall QWebPage::downloadRequested(class QNetworkRequest
> >> const &)" (?do
> >> wnloadRequested at QWebPage@@IAEXABVQNetworkRequest@@@Z) referenced in
> >> function "pu
> >> blic: virtual void __thiscall
> >> WebCore::FrameLoaderClientQt::startDownload(struct
> >>  WebCore::ResourceRequest const &)"
> >> (?startDownload at FrameLoaderClientQt@WebCore@
> >> @UAEXABUResourceRequest at 2@@Z)
> >> ..\..\..\..\lib\QtWebKitd4.dll : fatal error LNK1120: 8 unresolved
> >> externals
> >> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> >> Studio 9.0\
> >> VC\BIN\link.EXE"' : return code '0x460'
> >> Stop.
> >> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> >> Studio 9.0\
> >> VC\BIN\nmake.exe"' : return code '0x2'
> >> Stop.
> >> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> >> Stop.
> >> ÿþM
> >> _______________________________________________
> >> Qt-interest mailing list
> >> Qt-interest at trolltech.com
> >> http://lists.trolltech.com/mailman/listinfo/qt-interest
> >>
> ÿþM
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Tiago Correia
chief technology officer

cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia
www.cnotinfor.pt
Telefone: +351 239 499 231

Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de
Interactividade, Comunicação e Aprendizagem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090627/caa14109/attachment.html 


More information about the Qt-interest-old mailing list