I have an application in which each thread (except the main thread) needs to create its own window. I tried creating a thread and then calling this->exec()
in the run
function. However, I get an error before I even get to that call: ASSERT failure in QWidget: "Widgets must be created in the GUI thread."
I want to popup a message window. The problem is that the source has multiple threads each of which may need to popup its own message.