I've a main GUI thread which starts async websockets in background. I need to open a QFileDialog to select a file but doing it from the main thread freezes everything until I've selected the file and the QFileDialog closes.
I've tried to open it in a separate task using loop.createTask but accessing a widget outside the main GUI thread is not supposed to be.
So how to open a QFileDialog which do not block the main GUI thread ?
Thanks Stephane
I've found that opening the QFileDialog from a thread was preventing it to block the main GUI thread :