[webkit-qt] Qtwebkit-23 Build fails

Konstantin Tokarev annulen at yandex.ru
Tue Aug 28 11:04:17 PDT 2012


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 LNK2001: 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?
>
> 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.

-- 
Regards,
Konstantin


More information about the webkit-qt mailing list