[Interest] running pyqt app event loop in secondary thread, using (Py)Qt6.5
Federico Ferri
federico.ferri.it at gmail.com
Fri Sep 22 19:18:12 CEST 2023
On Fri, 22 Sept 2023 at 18:36, Stefan Seefeld <stefan at seefeld.name> wrote:
> Hello,
>
> I'm trying to establish a Python test methodology whereby a QApplication
> is launched (and its event loop executed) in a secondary thread, while the
> primary thread performs some "test scenario".
>
QApplication.exec must be called from the main thread.
https://doc.qt.io/qt-5/threads-qobject.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230922/7e596fef/attachment.htm>
More information about the Interest
mailing list