[Twisted-Python] PySide (Qt4) <-> Twisted reactor integration
aphidia at hotmail.com
Wed Oct 27 23:08:58 EDT 2010
I've just checked out http://github.com/ghtdak/qtreactor and it works with PySide. I simply did:
try: from PyQt4.QtCore import QSocketNotifier, QObject, SIGNAL, QTimer, QCoreApplication from PyQt4.QtCore import QEventLoopexcept ImportError: from PySide.QtCore import QSocketNotifier, QObject, SIGNAL, QTimer, QCoreApplication from PySide.QtCore import QEventLoop
I believe there was an issue before about licenses since PyQt used GPL? Well PySide uses LGPL, so twisted should include this reactor loop only importing PySide :) It works.
Anyone wishing to confirm this can find several packages on their site:
More information about the Twisted-Python