[zeromq-dev] best way to integrate pyzmq & pyqt event loops

Marc Rossi mrossi19 at gmail.com
Wed Apr 27 01:56:26 CEST 2011


Looking for a little direction.  Trying to put together a PyQt app to view
some of the google protobuf encoded data I'm slinging around from my C/C++
apps with zmq.  Have the pyzmq/google protobuf stuff working no problem but
trying to figure out the best way to integrate the QApplication event loop
with the IOLoop instance I have in my script.  First thoughts are to use the
QApplication event handler as my primary loop with idle callbacks to do my
zmq socket polling.

I'm by no means a PyQt expoert and I have to think someone has been down
this path before (event though searches turned up empty), so any
advice/direction that can be thrown my way would be much appreciated.  In
the meantime I'm going to try and do zmq event processing in the qt
callbacks.

TIA
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110426/fdaaf596/attachment.htm>


More information about the zeromq-dev mailing list