Adds ZeroMQ to the Qt event loop.