[Twisted-Python] Running a GUI application based on PyQt

Reza Lotun reza at getpeer.com
Mon Nov 24 04:38:29 EST 2008

On Mon, Nov 24, 2008 at 8:37 AM, Nahuel Defossé
<nahueldefosse at yahoo.com.ar>wrote:

> Hi,
> I'm trying to use a simple application based in twisted.internet.Protocol
> with
> PyQt4.
> PyQt has its own way of dealing with events, I've tried to run the reactor
> in
> a thread, but it says it only can acquire SIGINT from the main thread :(
Hi Nahuel,

I don't have any way of testing qt4reactor.py easily, but if you run your
reactor in a separate thread, make sure to instruct twisted not to install
its signal handlers with a:


Hope that helps,

Reza Lotun
Senior Software Engineer
GetPeer Limited
reza at getpeer.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20081124/b9ce0620/attachment.htm 

More information about the Twisted-Python mailing list