Link problem in Qt 5.1
-
hello, i am using Qt 5.1.i want to use Qthread with gui application.but when i compiling...it shows link problem..how can i solve this?problems are :
1.mythread.obj:-1: ошибка: LNK2019: unresolved external symbol "public: void __thiscall MyThread::NumberChanged(int)" (?NumberChanged@MyThread@@QAEXH@Z) referenced in function "public: virtual void __thiscall MyThread::run(void)" (?run@MyThread@@UAEXXZ)
2.moc_mythread.obj:-1: ошибка: LNK2001: unresolved external symbol "public: void __thiscall MyThread::NumberChanged(int)" (?NumberChanged@MyThread@@QAEXH@Z)please answer me..