Re: [Twisted-Python] qt5 and twisted, reactor already installed, python 2.x

2016-06-29 Thread Glyph
> On Jun 29, 2016, at 15:39, steven meier wrote: > > > here is my code: > when importing get_main_page i get the error above... > > import sys > from PyQt5 import QtWidgets > from untitled import Ui_MainWindow > #from webchat import get_main_page You have to put the qt5reactor installation at

[Twisted-Python] qt5 and twisted, reactor already installed, python 2.x

2016-06-29 Thread steven meier
hi, ive got some twisted code that runs on its own and some python code that also runs on its own, now i would like to combine the two, so i added: if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) # your code to init QtCore import qt5reactor qt5reactor.install()