[Qt-interest] can't send signal in multithread

Eirik Ulvik eiriku at simsurgery.com
Thu Apr 15 10:39:38 CEST 2010


[snip]
>     jm.start();
>     jm.wait();
[/snip]
The wait function blocks the thread until run() exits and no event
handling will happen. Since you call exec() in your run() it will not
return until you explicitly terminate the thread.

Regards,
Eirik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100415/b4b84029/attachment.bin 


More information about the Qt-interest-old mailing list