I have been trying to get a spawned thread to create a dialog! Everytime I run the code it asserts saying it can not create a widget in a non GUI thread.
Is there any way to do this?
Pretty much I just have a class that inherits from QThread. In run() I am wanting to initialize and show a dialog.
If you are wondering WHY am I doing this... I want to call a method in this class to open the dialog (which will be doing a lot of stuff) and then start a search. When the search is over it will call another method from the class to stop the thread, essentially closing the dialog.
So pretty much I am wanting to create a splash screen that I can turn on and off at will.
Bookmarks