On Monday, 27 March 2023 13:23:02 PDT Stefan Seefeld wrote:
> Hello,
>
> I'm working on some Python tests that interact with a Qt application. I
> would like to run the application's event loop in a secondary thread, so
> the primary thread can perform the test itself.
>
> I read in the past that
Hi Stefan,
check out the excellent QThread API docs for the correct patterns for
interacting between UI and worker threads.
I don't think that it really matters which thread is your "main" thread. Surely
you have to call Q*Application::exec()
in one distinct thread and you definitely can have o
Hello,
I'm working on some Python tests that interact with a Qt application. I
would like to run the application's event loop in a secondary thread, so
the primary thread can perform the test itself.
I read in the past that such a use-case wasn't supported by Qt, but I can't
find that information