On Fri, 22 Sept 2023 at 18:36, Stefan Seefeld <ste...@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
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to