[webkit-qt] Fwd: Qtwebkit-23 Build fails

Michael dres-schmidt at t-online.de
Wed Aug 29 11:46:02 PDT 2012



Von meinem iPhone gesendet

Anfang der weitergeleiteten E‑Mail:

> Von: Michael <dres-schmidt at t-online.de>
> Datum: 29. August 2012 20:45:02 MESZ
> An: Andras Becsi <abecsi at webkit.org>
> Betreff: Re: [webkit-qt] Qtwebkit-23 Build fails
> 
> 
> 
>> Hi,
>> 
>> On 29 August 2012 00:53, Michael <dres-schmidt at t-online.de> wrote:
>>> 
>>> 
>>>> 
>>>> 28.08.2012, 16:33, "Michael" <dres-schmidt at t-online.de>:
>>>>> Hi All,
>>>>> 
>>>>> when using Visual Studio 2010 to build QtWebkit 2.3 fromhttps://gitorious.org/+qtwebkit-developers/webkit/qtwebkit-23 with binaries/source Qt 4.8.2 installed,
>>>>> 
>>>>> i do get the following link errors:
>>>>> 
>>>>>       link /LIBPATH:"p:\qtwebkit-23\WebKitBuild\Debug\lib" /LIBPATH:"c:\Qt\4.8.2\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /MANIFEST /MANIFESTFILE:"obj/debug\qmlwebkitplugind.intermediate.manifest" /OUT:..\imports\QtWebKit\qmlwebkitplugind.dll @C:\Users\mike\AppData\Local\Temp\nmE0BC.tmp   Creating library ..\imports\QtWebKit\qmlwebkitplugind.lib and object ..\imports\QtWebKit\qmlwebkitplugind.expqdeclarativewebview.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QWebPage::staticMetaObject" (?staticMetaObject at QWebPage@@2UQMetaObject@@B)plugin.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QWebPage::staticMetaObject" (?staticMetaObject at QWebPage@@2UQMetaObject@@B)moc_qdeclarativewebview_p.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QWebPage::staticMetaObject" (?staticMetaObject at QWebPage@@2UQMetaObject@@B)qdeclarativewebview.obj : error LNK20
>>> 01: unresolved external symbol "public: static struct QMetaObject const QGraphicsWebView::staticMetaObject" (?staticMetaObject at QGraphicsWebView@@2UQMetaObject@@B)plugin.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QGraphicsWebView::staticMetaObject" (?staticMetaObject at QGraphicsWebView@@2UQMetaObject@@B)moc_qdeclarativewebview_p.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QGraphicsWebView::staticMetaObject" (?staticMetaObject at QGraphicsWebView@@2UQMetaObject@@B)qdeclarativewebview.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QWebFrame::staticMetaObject" (?staticMetaObject at QWebFrame@@2UQMetaObject@@B)..\imports\QtWebKit\qmlwebkitplugind.dll : fatal error LNK1120: 3 unresolved externals
>>>> 
>>>> Looks like some moc files were not generated. How do you build QtWebKit?
>>> 
>>> I followed trac.webkit.org/Wiki/buildingqtonwindows
>>> 
>>>>> 
>>>>> System is Windows 7 64bit.
>>>>> 
>>>>> Do I have to build Qt 4.8.2 from source with -qtwebkit? I now just installed the VS-2010 binaries.
>>>>> 
>>>> 
>>>> No, having another QtWebKit around may even make things worse.
>>>> 
>>> 
>>> Sorry, I meant Build with configue -no-webkit. Because right now i do have the precompiled binaries installed which Include the webkit.
>>> 
>>>> --
>>>> Regards,
>>>> Konstantin
>>> 
>>> So should I Build qt 4.8.2. from source with configue -no-webkit first?
>>> Thanks and best Regards,
>> 
>> Yes, you need to configure Qt with -no-webkit before you try to build
>> a custom QtWebKit because your linker most probably tries to link to
>> the installed libraries and that obviously fails.
>> 
>> 
>> /Andras
> 
> Hi Andras,
> Rebuild 4.8.2 with -no-webkit. Same errors. I think either the qtwebkit-23 repo is not working or at least Not with 4.8.2. 
> Has anyone compiled the qtwebkit-23 repo successfully and with which version ?
> 
> Thanks,
> Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20120829/69947abd/attachment-0001.html>


More information about the webkit-qt mailing list