hgedek
23rd November 2007, 08:58
I couldnt solve this problems.I added Q_OBJECT.But I again got these...
programeditor.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall ProgramEditor::metaObject(void)const " (?metaObject@ProgramEditor@@UBEPBUQMetaObject@@XZ)
programeditor.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall ProgramEditor::qt_metacast(char const *)" (?qt_metacast@ProgramEditor@@UAEPAXPBD@Z)
programeditor.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall ProgramEditor::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@ProgramEditor@@UAEHW4Call@QMetaObjec t@@HPAPAX@Z)
programeditor.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall ProgramEditor::MyShow(void)" (?MyShow@ProgramEditor@@MAEXXZ)
programeditor.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall ProgramEditor::MyHide(void)" (?MyHide@ProgramEditor@@MAEXXZ)
programeditor.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const ProgramEditor::staticMetaObject" (?staticMetaObject@ProgramEditor@@2UQMetaObject@@B )
programeditor.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall ProgramEditor::metaObject(void)const " (?metaObject@ProgramEditor@@UBEPBUQMetaObject@@XZ)
programeditor.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall ProgramEditor::qt_metacast(char const *)" (?qt_metacast@ProgramEditor@@UAEPAXPBD@Z)
programeditor.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall ProgramEditor::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@ProgramEditor@@UAEHW4Call@QMetaObjec t@@HPAPAX@Z)
programeditor.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall ProgramEditor::MyShow(void)" (?MyShow@ProgramEditor@@MAEXXZ)
programeditor.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall ProgramEditor::MyHide(void)" (?MyHide@ProgramEditor@@MAEXXZ)
programeditor.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const ProgramEditor::staticMetaObject" (?staticMetaObject@ProgramEditor@@2UQMetaObject@@B )