[Interest] BUG? QTimer in QThread
André Somers
andre at familiesomers.nl
Tue May 13 14:03:03 CEST 2014
Mandeep Sandhu schreef op 13-5-2014 14:00:
>> 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)?
>
At the very least, your version actually _starts_ the thread. The
original did not.
André
More information about the Interest
mailing list