Results 1 to 2 of 2

Thread: QtDesigner linker error MSVC++ 2005

  1. #1
    Join Date
    Aug 2007
    Posts
    166
    Thanks
    16
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QtDesigner linker error MSVC++ 2005

    Hi,

    I'm using Qt 4.3.1 with the patch to compile with MSVC++ 2005 and I used too the tutorial for static runtime, i.e. the -MT option in to the mkspecks. So far all compiled totaly fine, the only problem is the QtDesigner it doesn't want to compile, I got some linker errors:

    Qt Code:
    1. QtDesigner.lib(actioneditor.obj) : error LNK2019: unresolved external symbol "public: static struct QMetaObject const qdesigner_internal::ActionFilterWidget::staticMetaObject" (?staticMetaObject@ActionFilterWidget@qdesigner_internal@@2UQMetaObject@@B) referenced in function "public: static class QString __cdecl qdesigner_internal::ActionFilterWidget::tr(char const *,char const *)" (?tr@ActionFilterWidget@qdesigner_internal@@SA?AVQString@@PBD0@Z)
    2. QtDesigner.lib(actioneditor.obj) : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall qdesigner_internal::ActionFilterWidget::metaObject(void)const " (?metaObject@ActionFilterWidget@qdesigner_internal@@UBEPBUQMetaObject@@XZ)
    3. QtDesigner.lib(actioneditor.obj) : error LNK2001: unresolved external symbol "public: virtual void * __thiscall qdesigner_internal::ActionFilterWidget::qt_metacast(char const *)" (?qt_metacast@ActionFilterWidget@qdesigner_internal@@UAEPAXPBD@Z)
    4. QtDesigner.lib(actioneditor.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall qdesigner_internal::ActionFilterWidget::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@ActionFilterWidget@qdesigner_internal@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
    5. designer.exe : fatal error LNK1120: 4 unresolved externals
    To copy to clipboard, switch view to plain text mode 

    Any idea how to fix that?

  2. #2
    Join Date
    Aug 2007
    Posts
    166
    Thanks
    16
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QtDesigner linker error MSVC++ 2005

    Oh fixed, seems like nmake have compiled some things in wrong order...

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.