Hi all!
Is there a (clean) way for the gui thread to wait for a thread to finish while staying responsible for user interaction?
A dirty way would be to loop over QApplication::processEvents, like
while (!thread.finished())
{
QApplication::processEvents();
}
, but this will burn the gui thread even if there is no user interaction.
I would be nice to have something like "waitForEvent", so that gui events could wake up the gui thread.
Bookmarks