PDA

View Full Version : Can't compile QTDesigner,error when linking



Teerayoot
20th November 2007, 14:34
Got fallowing error


1>Linking...
1>LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
1> Creating library ..\..\..\..\lib\QtDesignerd4.lib and object ..\..\..\..\lib\QtDesignerd4.exp
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)
1>actioneditor.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall qdesigner_internal::ActionFilterWidget::qt_metacas t(char const *)" (?qt_metacast@ActionFilterWidget@qdesigner_interna l@@UAEPAXPBD@Z)
1>actioneditor.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall qdesigner_internal::ActionFilterWidget::qt_metacal l(enum QMetaObject::Call,int,void * *)" (?qt_metacall@ActionFilterWidget@qdesigner_interna l@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
1>actioneditor.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const qdesigner_internal::ActionFilterWidget::staticMeta Object" (?staticMetaObject@ActionFilterWidget@qdesigner_in ternal@@2UQMetaObject@@B)
1>..\..\..\..\lib\QtDesignerd4.dll : fatal error LNK1120: 4 unresolved externals
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"
1>QtDesigner - 5 error(s), 1 warning(s)

Thank in advance.

wysota
22nd November 2007, 11:17
What steps did you perform to build Qt?