Hi,
I would like to implement threading in my program. In fact I have it up and
running.
However I would like to execute some code in the main event loop when the
thread ends. The QThread class has a finished signal so I would like to use
that.
The problem is this signal is never triggered. I as
Hi Ralf,
I don't know the answer on your question, however...
If you're looking for some way of running long task in a background (for
not blocking main loop) then you might want to consider using Qt Concurrent.
Here's what I'm doing for my long tasks through Qt Concurrent:
// Initializes watchi
Ralf Van Bogaert wrote:
>
> The problem is this signal is never triggered. I assume this would
> happen when the run() method reached the end.
>
It depends if you really need a QThread. With QtJambi the first design
decision to make is does this thread really need to be a QThread since
J