[Interest] QApplication in worker thread

Ramakanth Kesireddy rama.kesi at gmail.com
Thu Aug 16 06:33:43 CEST 2018


Hi,

Am using Qt 4.8.x on embedded Linux.

Though it is recommended to run QApplication or GUI in main thread, could
you please let me know if there are any limitations to create QApplication
in worker thread?

I see below two issues as QApplication is created in worker thread but not
sure if this is the primary reason:-

I) The exceptions being thrown from slot or elsewhere couldn't be caught
even after implementing QApplication::Notify()?

2) If we add copy or assignment operator in private section of custom
QWidget classes, signal and slot doesn't works. This shouldn't impact but
not quite sure.

Thanks and Regards,
Ramakanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180816/8271d3e9/attachment.html>


More information about the Interest mailing list