Hi Guys,
I'm build an application with VS2008+QT4.6.2 (configure it as static)
Steps:
configure -release -static -fast -qt-gif -qt-libjpeg -qt-sql-odbc -openssl-linked -qt-sql-sqlite -no-webkit -qt-zlib -no-dbus -no-phonon -nomake examples -nomake docs -nomake demos -nomake translations -platform win32-msvc2008
qmake -config release
nmake
However some linking errors are reported as below:
link /LIBPATH:"c:\Qt\lib" /NOLOGO /INCREMENTAL:NO /MANIFEST /MANIFESTFIL
E:"release\QtWeb.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:
type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKe
yToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /OUT:release\Q
tWeb.exe @C:\DOCUME~1\sr71\LOCALS~1\Temp\nm6B5.tmp
moc_history.obj : error LNK2001: unresolved external symbol "public: static stru
ct QMetaObject const QWebHistoryInterface::staticMetaObject" (?staticMetaObject@
QWebHistoryInterface@@2UQMetaObject@@B)
moc_webpage.obj : error LNK2001: unresolved external symbol "public: static stru
ct QMetaObject const QWebPage::staticMetaObject" (?staticMetaObject@QWebPage@@2U
QMetaObject@@B)
moc_webview.obj : error LNK2001: unresolved external symbol "public: static stru
ct QMetaObject const QWebView::staticMetaObject" (?staticMetaObject@QWebView@@2U
QMetaObject@@B)
The generated moc_history.cpp is attached.
Could someone give me a hand on this? Thanks a lot.
Cheers
Rick
Bookmarks