I am trying to compile the Qt 4.5.2 libraries for Visual Studio 2008.
I copied the qt directory into a new folder, ran configure and then nmake.
The libraries compiled normally until reaching the QtWebKitd4 library.
Then the link failed with multiple unresolved external symbol messages.
All previous libraries compiled with no problems.
Any suggestions on possible work arounds?
Phil
Full text of the last library compile:
qrc_WebKit.cpp
qrc_WebCore.cpp
Generating Code...
link /LIBPATH:"c:QtQt4.5_200903qtlib" /LIBPATH:"c:QtQt4.5_200903q
tlib" /NOLOGO /DEBUG /DLL /MANIFEST /MANIFESTFILE:"tmpobjdebug_sharedQtWebKi
td.intermediate.manifest" /VERSION:4.52 /OUT:........libQtWebKitd4.dll @C:
TEMPnm35D.tmp
Creating library ........libQtWebKitd4.lib and object ........libQt
WebKitd4.exp
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: vi
rtual struct QMetaObject const * __thiscall WebCore::FormDataIODevice::metaObjec
t(void)const " (?metaObject@FormDataIODevice@WebCore@@UBEPBUQMetaObject@@XZ)
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: vi
rtual void * __thiscall WebCore::FormDataIODevice::qt_metacast(char const *)" (?
qt_metacast@FormDataIODevice@WebCore@@UAEPAXPBD@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@FormDataIODevice@WebCore@@UAEHW4Call@QMetaObject
@@HPAPAX@Z)
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: vi
rtual struct QMetaObject const * __thiscall WebCore::QNetworkReplyHandler::metaO
bject(void)const " (?metaObject@QNetworkReplyHandler@WebCore@@UBEPBUQMetaObject@
@XZ)
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: vi
rtual void * __thiscall WebCore::QNetworkReplyHandler::qt_metacast(char const *)
" (?qt_metacast@QNetworkReplyHandler@WebCore@@UAEPAXPBD@Z)
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: vi
rtual int __thiscall WebCore::QNetworkReplyHandler::qt_metacall(enum QMetaObject
::Call,int,void * *)" (?qt_metacall@QNetworkReplyHandler@WebCore@@UAEHW4Call@QMe
taObject@@HPAPAX@Z)
FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol "protected:
void __thiscall QWebPage::unsupportedContent(class QNetworkReply *)" (?unsupport
edContent@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@FrameLoaderCli
entQt@WebCore@@UAEXPAVResourceHandle@2@ABUResourceRequest@2@1ABVResourceResponse
@2@@Z)
FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol "protected:
void __thiscall QWebPage::downloadRequested(class QNetworkRequest const &)" (?do
wnloadRequested@QWebPage@@IAEXABVQNetworkRequest@@@Z) referenced in function "pu
blic: virtual void __thiscall WebCore::FrameLoaderClientQt::startDownload(struct
WebCore::ResourceRequest const &)" (?startDownload@FrameLoaderClientQt@WebCore@
@UAEXABUResourceRequest@2@@Z)
........libQtWebKitd4.dll : fatal error LNK1120: 8 unresolved externals
NMAKE : fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 9.0VCBIN
link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 9.0VCBIN
nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.