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
Release history Release notifications | RSS feed
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)
File details
Details for the file qt5reactor-fork-0.1.tar.gz
.
File metadata
- Download URL: qt5reactor-fork-0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15d452729e312e10cb626d2534d7904a4e0399857ed5dbaa6c13567d6b428620 |
|
MD5 | 0a3e51039224133c27fe7725e87ad913 |
|
BLAKE2b-256 | fe5a943029d4f3d0b129cc1c8b9937e69731f502671bb433786ca42dab9ffe29 |