[Interest] BUG? QTimer in QThread

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Tue May 13 14:00:35 CEST 2014


> Thanks Mandeep, the problem was caused by the timer starting in the
> constructor and then moved by moveToThread, as André pointed out. I don't
> really understand why is it so, but well, it works :)

I'm glad it worked for you, although the example I sent you starts the
timer in the c'tor only (and later moveTothread is called) and still
works. Could it be a Qt-on-Mac issue (maybe you can compile my example
on your setup and test)?

-mandeep

>
>
> Thanks!
>



More information about the Interest mailing list