Hi everyone,
I'm new to QT programming.
I try to create a threaded program using Qt3's QThread class. I create a class MyThread and try to start it from a main widget. But when I try to compile it gives linking errors saying that multiple diclarations for MyThread::run() and MyThread::stop(). How can I solve this problem.
Qt Code:
{ public: MyThread() {}; void run() { printf("Working");}; void stop(){}; }To copy to clipboard, switch view to plain text mode
Please help me on this .....
Bookmarks