Qt 4.5.2 has been released-----------lib/QtWebKitd4.dll : fatal error LNK1120: 8 unresolved externals.......

Qt 4.5.2 has been released
Posted by  Jason McDonald
 
 on Thursday, June 25, 2009 @ 09:50

Qt developers in Oslo, Berlin, Brisbane and other assorted locations are proud to announce that Qt 4.5.2 is now available.

Qt 4.5.2 is a patch level release providing bug fixes and performance improvements over the 4.5.1 release that went out in April. You can get Qt 4.5.2here and you can see what’s changed in the changes log.

This release is a significant milestone in Qt’s life. It is the first release since the Qt development repository was made public and is thus the first release to include code directly contributed by members of the open-source community. Contributions from the community have already improved the quality of several of Qt’s component’s for this release. We are grateful for the hard work and generosity of those who have contributed patches, bug reports and autotests, and we look forward to our relationship with the developer community growing stronger with each Qt release.

If you too would like to get involved in shaping Qt’s future, everything you need to get started can be found at qt.gitorious.org.

15 Responses to “Qt 4.5.2 has been released”

» Posted by  ephemient
 
 on Thursday, June 25, 2009 @ 20:34

196152 is *finally* fixed — hurray!

» Posted by Stefan
 
 on Thursday, June 25, 2009 @ 22:01

Is there a timeline for 4.6?

» Posted by  Norman Dunbar
 
 on Friday, June 26, 2009 @ 08:57

Good to hear 4.5.2 is available as I have a bug open with Windows 2000 and the file gui/dialogs/qwizard_win.cpp in particular. Bug details are listed in the changes page as being fixed:

QWizard
* [252662] Fixed crash that could happen when compiling on Windows XP
and running on older Windows versions like 98 and 2000.

However, trying to install QT sdk 2009.03 today on my Windows 2000 desktop gives me an error message that Windows 2000 is not supported.

Something here does not compute - you fixed a bug in Win2k and older versions but the installer wont let it be installed on these older versions!

Cheers,
Norm.

» Posted by Dženan
 
 on Friday, June 26, 2009 @ 14:16

QT Creator (part of SDK) does not support Win2k maybe, but the Qt Library supports it?

» Posted by Thomas
 
 on Friday, June 26, 2009 @ 15:53

I can’t compile it (Visual Studio 2008). 2009.2 worked fine.

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)
../../../../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 ‘0×460′
Stop.
NMAKE : fatal error U1077: ‘”C:/Program Files (x86)/Microsoft Visual Studio 9.0/
VC/BIN/nmake.exe”‘ : return code ‘0×2′
Stop.
NMAKE : fatal error U1077: ‘cd’ : return code ‘0×2′
Stop.

» Posted by Daniel T.
 
 on Friday, June 26, 2009 @ 21:29

Thomas, that problem happens only with QTWebKit Module. The
same happened with me, but using Visual Studio 2005. The rest of QT
should compile fine, like here. Configure QT with the option -no-webkit and you should have no problems.
Unfortunatelly, you won’t be able to use the webkit…

I had but other issue: Visual Studio is now always saying one
of my projects is out of date with QT 4.5.2. Whenever I try to
compile it, VS rebuilds all the project.

I’ve returned to QT 4.5.1 and the problem didn’t happen.
I will try recompiling QT 4.5.2 with VS 2005 from scratch again
later and see if the problem continues.

» Posted by Michael
 
 on Saturday, June 27, 2009 @ 11:58

@ Daniel T. and Thomas
QtWebKit seems only to compile with Visual Studio (2008 in my case) when linking Qt as dynamic library. When using configure.exe -static WebKit refuses reproducible to compile.

» Posted by Thomas
 
 on Saturday, June 27, 2009 @ 13:27

@Michael: all I did was:

configure.exe -platform win32-msvc2008
nmake

It worked with all previous Qt versions. So I guess it’s not my fault.
Is this a bug? Any workarounds?

» Posted by  Paul
 
 on Sunday, June 28, 2009 @ 01:23

I have the same problem with win32/g++, ie cannot compile webkit using -static 

» Posted by phongphan
 
 on Monday, June 29, 2009 @ 21:39

Problem is in src/3rdparty/webkit/WebCore/tmp/moc/{debug,release}_shared/mocinclude.tmp
which produced empty moc_QNetworkReplyHandler.cpp file.

Just remove it and then rebuild QtWebkit again.

» Posted by Lucian
 
 on Monday, June 29, 2009 @ 22:46

I also had the same problem, and removing the mentioned ‘mocinclude.tmp’ files worked great. Thanks, phongphan!

» Posted by Jon
 
 on Tuesday, June 30, 2009 @ 15:48

Same issue as Daniel T.
All the moc are built again each time I compile a project. This didnot happen with 4.5.1.

-I$(QTDIR)$mocinclude.tmp ??

» Posted by  Paul
 
 on Wednesday, July 01, 2009 @ 02:02

What about the static version? there are no files in src/3rdparty/webkit/WebCore/tmp/moc/{debug,release}_static/*, so no mocinclude.tmp file to delete.

When building with -static the actual error I’m getting is”

moc: Cannot open options files specified with @

Accorging to the echoed command, the file specified with @ is: @tmp/moc/release_static/mocinclude.tmp, which as mentioned above, does not exist 

Any suggestions? Thanks 

» Posted by Alexander Vassilev
 
 on Thursday, July 02, 2009 @ 20:59

You can try creating the mocinclude.tmp file in the directory where it is specified. I did that to work around the error, not sure if it will have side effects, maybe someone can comment on this. I checked the generated .moc files and they seem ok, even though no includes were specified via the empty mocinclude.tmp file.

» Posted by qindq
 
 on Saturday, July 04, 2009 @ 11:24

I had the same problem as Thomas.
I try to build 4.5.2 with msvc2008 and msvc2005 in 2 computers.
But get the exact same result “fatal error LNK1120: 8 unresolved externals”

你可能感兴趣的:(ERROR)