View Full Version : Problem with QThread after linux rebuild

17th October 2006, 09:01
Hi all !
Have some project that was build under FreeBSD. I try rebuild it after Linux and in some header file i got strange error :eek:

#ifndef POOLER_H
#define POOLER_H

#include <qthread.h>

class QPooler: public QThread

sirius-test:/home/volodya/router # g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/linux-g++ -I. -I. -I/usr/include -I/usr/lib/qt3/include -o main.o main.cpp
In file included from main.cpp:2:
qpooler.h:77: error: parse error before `{' token


17th October 2006, 11:57
Do you have a CONFIG+=thread in your project file?