[Qt-creator] Slots methods in threads
Andre Poenitz
andre.poenitz at mathematik.tu-chemnitz.de
Sat May 23 13:07:37 CEST 2009
On Sat, May 23, 2009 at 11:53:35AM +0300, Kosta wrote:
> Hello, is it possible to create a slot method in a class inheriting
> QThread ?
Sure. It derives from QObject...
> I'm trying to do that, but strange error occurs :
>
> debug/TestThread.o(.text+0x155): In function
> `ZN18TestThreadC2EP7QObject': D:/Documents and
> Settings/Secret/Desktop/workspace/TestProject/TestThread.cpp:5:
> undefined reference to `vtable for TestThread
re-run qmake.
Andre'
More information about the Qt-creator-old
mailing list