Skip to main content

Twisted Qt Integration

Project description

Qt4Reactor

Using the QtReactor

Before running / importing any other Twisted code, invoke:

app = QApplication(sys.argv) # your code to init QtCore
from twisted.application import reactors
reactors.installReactor('qt5')

or

app = QApplication(sys.argv) # your code to init QtCore
import qt5reactor
qt5reactor.install()

Testing

trial --reactor=pyqt5 [twisted] [twisted.test] [twisted.test.test_internet]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qt5reactor-fork-0.1.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file qt5reactor-fork-0.1.tar.gz.

File metadata

File hashes

Hashes for qt5reactor-fork-0.1.tar.gz
Algorithm Hash digest
SHA256 15d452729e312e10cb626d2534d7904a4e0399857ed5dbaa6c13567d6b428620
MD5 0a3e51039224133c27fe7725e87ad913
BLAKE2b-256 fe5a943029d4f3d0b129cc1c8b9937e69731f502671bb433786ca42dab9ffe29

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page