Having PyQt app controlling all. How use reactor? <p>I've a django application, served via Twisted, which also serves ohter services (three sockets, mainly).</p> <p>I need to have it working under windows, and I decide to write a PyQt4 application which acts quite like <strong>Apache Service Monitor</strong> for windows.</p> <p>I was not able to connect twisted reactor to pyqt application reactor, so any hint on this will be welcome too.</p> <p>Now I've this kind of architecture:</p> <ul> <li><strong>QMainWindow</strong> which, in __ init __() has the log.addObserver(callBack) function, and the widget.</li> <li><strong>Twisted initializer</strong> class which extends <strong>QtCore.QThread</strong> and works in a different thread.</li> <li><strong>the django app</strong> which runs over Twisted.</li> </ul> <p>I need to understand how to run the reactor, becouse calling reactor.start() from <strong>QtCore.QThread</strong> works not at all, giving me:</p> <pre><code>exceptions.ValueError: signal only works in main thread </code></pre> <p>Also I'm asking your opinion on the design of applications, does it makes sense for you?</p>