Penguinizer
First time to use QThread class and KDevelop gives unexplained errors.
My code :
#include <qthread.h>
int main(.....){
QThread t;
// Nothing matters after this
}
ERRORS :
QThread : Undifined Identifier .
After checking "qthread.h" I found the there exist a conditional compilation On a MACRO called "QT_THREAD_SUPPORT" or something like that .
But I have no idea where to write it .
and also do I have to enable MultiThreading support , HOW ???
is there any simple examples On QThread. SIMPLE !!!!
Thanks .
My code :
#include <qthread.h>
int main(.....){
QThread t;
// Nothing matters after this
}
ERRORS :
QThread : Undifined Identifier .
After checking "qthread.h" I found the there exist a conditional compilation On a MACRO called "QT_THREAD_SUPPORT" or something like that .
But I have no idea where to write it .
and also do I have to enable MultiThreading support , HOW ???
is there any simple examples On QThread. SIMPLE !!!!
Thanks .