[Interest] BUG? QTimer in QThread
Filip Piechocki
fpiechocki at gmail.com
Tue May 13 14:05:52 CEST 2014
Looks like Andre was a little bit faster to point this out.
BR,
Filip Piechocki
On Tue, May 13, 2014 at 2:03 PM, Filip Piechocki <fpiechocki at gmail.com>wrote:
> I would like to mention, that in the first email the thread is never
> started and without starting the thread I would not expect much to happen
> in this thread :)
>
> BR,
> Filip Piechocki
>
>
> On Tue, May 13, 2014 at 2:00 PM, Mandeep Sandhu <
> mandeepsandhu.chd at gmail.com> wrote:
>
>> > 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!
>> >
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140513/a670e186/attachment.html>
More information about the Interest
mailing list