[PyQt] How can I set Qt's main thread to be different than Python's main thread?
kovid at kovidgoyal.net
Sun Mar 8 03:38:32 GMT 2015
I haven't tried it but you should simply be able to create the QApplication
in whatever thread you want to use as the main thread. Then only use all
Qt GUI widgets in that thread.
On Sat, Mar 07, 2015 at 07:59:40PM +0600, Ilya Kulakov wrote:
> Is it possible (and supported) to change Qt's main thread to be other than Python's main thread?
> What are the consequences? Are there PyQt methods that MUST be used from main Python / main application thread?
> Best Regards,
> Ilya Kulakov
> PyQt mailing list PyQt at riverbankcomputing.com
Dr. Kovid Goyal
More information about the PyQt