[Interest] QThread, correct exit.

Alexander Syvak alexander.svk at gmail.com
Sat Sep 28 11:44:32 CEST 2013


Hello,

how to correctly stop a QThread execution?

I am using
thread.quit();

thread.terminate();

thread.wait(500);

Without terminate() thread wait forever. Each thread is executing an
event loop only (object is moved into thread).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130928/a0d2d760/attachment.html>


More information about the Interest mailing list