[Qt-interest] Qt 4.6 fails to be build from source
Malyushytsky, Alex
alex at wai.com
Tue Jan 12 11:21:14 CET 2010
I decided to provide solution for people who might experience similar problem.
It looks like problems are caused by the temporary files (*.tmp) left in src folders in qt-sdk-win-opensource-2009.05.exe.
These files are not deleted by any option available ( confclean / clean) are probably left there by mingw.
Instead of removing these files manually and waste another few hours to test if it builds now I downloaded only source, build Qt from the scratch and was able to build it without errors.
I can't claim that removing all the temporaries would fix the problem, but building from source at http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.0.zip does not show any.
Need to mention I am surprised I could not find source only download in the list at
http://qt.nokia.com/downloads after I specified LGPL.
Require people to chose one of the binaries they don't need before providing a link to the source code is confusing.
Regards,
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Malyushytsky, Alex
Sent: Sunday, January 10, 2010 10:45 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Qt 4.6 fails to be build from source
I am still not able to find a solution.
Anybody could help with it?
According the documentation this is supported system.
Thanks,
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Malyushytsky, Alex
Sent: Friday, January 08, 2010 11:24 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Qt 4.6 fails to be build from source
Hi,
System: Windows XP 64, Visual Studio 2005 ( current build used 32 bit compiler)
QT was installed from qt-sdk-win-opensource-2009.05.exe,
only Qt and Creator options were checked. LGPL license option was checked.
configured as:
configure -debug-and-release -qt-zlib -qt-gif -qt-libpng -qt-libtiff -qt-libjpeg -qt-style-windowsxp -qt-style-windowsvista -no-phonon -saveconfig wailast
nmake output starting with first error provided below,
What is wrong?
Thanks in advance,
Alex Malyushytsky
Research Engineer - Weidlinger Associates Inc.
office: 650 230 0210,
direct: 650 230 0349
web: http://www.wai.com
NetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall WebCore::FormDataIODevice::metaObject(void)const " (?metaObject at FormDataIODevice@WebCore@@UBEPBUQMetaObject@@XZ)
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall WebCore::FormDataIODevice::qt_metacast(char const *)" (?qt_metacast at FormDataIODevice@WebCore@@UAEPAXPBD at Z)
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WebCore::FormDataIODevice::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall at FormDataIODevice@WebCore@@UAEHW4Call at QMetaObject@@HPAPAX at Z)
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall WebCore::QNetworkReplyHandler::metaObject(void)const " (?metaObject at QNetworkReplyHandler@WebCore@@UBEPBUQMetaObject@@XZ)
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall WebCore::QNetworkReplyHandler::qt_metacast(char const *)" (?qt_metacast at QNetworkReplyHandler@WebCore@@UAEPAXPBD at Z)
QNetworkReplyHandler.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WebCore::QNetworkReplyHandler::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall at QNetworkReplyHandler@WebCore@@UAEHW4Call at QMetaObject@@HPAPAX at Z)
QNetworkReplyHandler.obj : error LNK2019: unresolved external symbol "protected: void __thiscall WebCore::QNetworkReplyHandler::processQueuedItems(void)" (?processQueuedItems at QNetworkReplyHandler@WebCore@@IAEXXZ) referenced in function "public: void __thiscall WebCore::QNetworkReplyHandler::setLoadMode(enum WebCore::QNetworkReplyHandler::LoadMode)" (?setLoadMode at QNetworkReplyHandler@WebCore@@QAEXW4LoadMode at 12@@Z)
FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol "protected: void __thiscall QWebPage::unsupportedContent(class QNetworkReply *)" (?unsupportedContent at QWebPage@@IAEXPAVQNetworkReply@@@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 at FrameLoaderClientQt@WebCore@@UAEXPAVResourceHandle at 2@ABUResourceRequest at 2@1ABVResourceResponse at 2@@Z)
FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol "protected: void __thiscall QWebPage::downloadRequested(class QNetworkRequest const &)" (?downloadRequested at QWebPage@@IAEXABVQNetworkRequest@@@Z) referenced in function "public: virtual void __thiscall WebCore::FrameLoaderClientQt::startDownload(struct WebCore::ResourceRequest const &)" (?startDownload at FrameLoaderClientQt@WebCore@@UAEXABUResourceRequest at 2@@Z)
..\..\..\..\lib\QtWebKitd4.dll : fatal error LNK1120: 9 unresolved externals
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
"Please consider our environment before printing this email."
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list