test4 error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall MyWidget::qt_emit(int,struct QUObject *)" (?qt_emit@MyWidget@@UAE_NHPAUQUObject@@@Z)
test4 error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall MyWidget::qt_invoke(int,struct QUObject *)" (?qt_invoke@MyWidget@@UAE_NHPAUQUObject@@@Z)
test4 error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall MyWidget::qt_property(int,int,class QVariant *)" (?qt_property@MyWidget@@UAE_NHHPAVQVariant@@@Z)
test4 error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall MyWidget::className(void)const " (?className@MyWidget@@UBEPBDXZ)
test4 error LNK2001: 无法解析的外部符号 "public: virtual void * __thiscall MyWidget::qt_cast(char const *)" (?qt_cast@MyWidget@@UAEPAXPBD@Z)
test4 error LNK2019: 无法解析的外部符号 "public: static class QMetaObject * __cdecl MyWidget::staticMetaObject(void)" (?staticMetaObject@MyWidget@@SAPAVQMetaObject@@XZ) ,该符号在函数 "public: virtual class QMetaObject * __thiscall MyWidget::metaObject(void)const " (?metaObject@MyWidget@@UBEPAVQMetaObject@@XZ) 中被引用
请问怎么解决啊。我以前写的都能编译通过,现在在原来的基础上加了一个类,一直无法编译通过,怎么解决啊。