[PyQt] How to get Qt signals delivered to a pure python thread.

Ilya Kulakov kulakov.ilya at gmail.com
Thu Jan 8 10:59:39 GMT 2015


> Don't understand what "within qeventloop" means. You can create an eventloop and call processEvents repeatedly instead of exec_().
> If you look at qeventloop.cpp QT sources you can see that exec() is based on a
> while (!d->exit)
>  processEvents(flags | WaitForMoreEvents | EventLoopExec);

Oh then it looks like I did something wrong… Then if not exec, how QEventLoop registers in the thread?
When it's time to deliver anything to my thread, how Qt would find out where to send them?

As of now I'm using a qobject that proxies communication.



More information about the PyQt mailing list