28.08.2012, 16:33, "Michael" <[email protected]>: > 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@QWebPage@@2UQMetaObject@@B)plugin.obj : error LNK2001: > unresolved external symbol "public: static struct QMetaObject const > QWebPage::staticMetaObject" > (?staticMetaObject@QWebPage@@2UQMetaObject@@B)moc_qdeclarativewebview_p.obj : > error LNK2001: unresolved external symbol "public: static struct QMetaObject > const QWebPage::staticMetaObject" > (?staticMetaObject@QWebPage@@2UQMetaObject@@B)qdeclarativewebview.obj : error > LNK2001: unresolved external symbol "public: static struct QMetaObject const > QGraphicsWebView::staticMetaObject" > (?staticMetaObject@QGraphicsWebView@@2UQMetaObject@@B)plugin.obj : error > LNK2001: unresolved external symbol "public: static struct QMetaObject const > QGraphicsWebView::staticMetaObject" > (?staticMetaObject@QGraphicsWebView@@2UQMetaObject@@B)moc_qdeclarativewebview_p.obj > : error LNK2001: unresolved external symbol "public: static struct > QMetaObject const QGraphicsWebView::staticMetaObject" > (?staticMetaObject@QGraphicsWebView@@2UQMetaObject@@B)qdeclarativewebview.obj > : error LNK2001: unresolved external symbol "public: static struct > QMetaObject const QWebFrame::staticMetaObject" > (?staticMetaObject@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 _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-qt
