Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Update a window by a parallel process
JanLaloux last edited by
I have an application where the user can launch a task that runs in the background. After launching the task the user can use the application in a normal way.
Now I want the background task that runs in a parallel process to show the progress on the user screen such as a text "Processed x/y". The message should be updated continuously not only when the control is handed over by Qt to the main process. Is this possible (on Windows)?
it should be fine to send a signal from thread to mainwindow.
You might need to use the QueuedConnection flag when making the connection.
So you can define your own signal with the needed info and the the slot in mainwindow
can then update the progress.
This sample show such custom signal