Results 1 to 2 of 2

Thread: Can't compile QTDesigner,error when linking

  1. #1
    Join Date
    Apr 2007
    Posts
    44
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Can't compile QTDesigner,error when linking

    Got fallowing error

    Qt Code:
    1. 1>Linking...
    2. 1>LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
    3. 1> Creating library ..\..\..\..\lib\QtDesignerd4.lib and object ..\..\..\..\lib\QtDesignerd4.exp
    4. 1>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)
    5. 1>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)
    6. 1>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)
    7. 1>actioneditor.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const qdesigner_internal::ActionFilterWidget::staticMetaObject" (?staticMetaObject@ActionFilterWidget@qdesigner_internal@@2UQMetaObject@@B)
    8. 1>..\..\..\..\lib\QtDesignerd4.dll : fatal error LNK1120: 4 unresolved externals
    9. 1>Build log was saved at "file://c:\Qt\qt-win-commercial-src-4.3.1\tools\designer\src\lib\tmp\obj\debug_shared\BuildLog.htm"
    10. 1>QtDesigner - 5 error(s), 1 warning(s)
    To copy to clipboard, switch view to plain text mode 

    Thank in advance.
    Last edited by Teerayoot; 20th November 2007 at 14:17.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Can't compile QTDesigner,error when linking

    What steps did you perform to build Qt?

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.