Results 1 to 6 of 6

Thread: Unresolved external symbol "staticMetaObject"

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2010
    Posts
    2

    Default Unresolved external symbol "staticMetaObject"

    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
    Attached Files Attached Files

Similar Threads

  1. unresolved external symbol with qwt3d
    By pospiech in forum Qt Programming
    Replies: 6
    Last Post: 2nd February 2016, 22:47
  2. unresolved external symbol
    By gridolfi in forum Qt Programming
    Replies: 1
    Last Post: 8th September 2009, 18:58
  3. Replies: 1
    Last Post: 10th April 2009, 19:07
  4. unresolved external symbol
    By tgreaves in forum Qt Programming
    Replies: 2
    Last Post: 16th January 2009, 20:49
  5. Unresolved External Symbol
    By munna in forum General Discussion
    Replies: 1
    Last Post: 10th May 2006, 20:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.