[PyQt] Co-installing different versions of dbus.mainloop.qt
Dmitry Shachnev
mitya57 at ubuntu.com
Sun Jun 23 10:53:59 BST 2013
Hi,
It looks like versions of dbus.mainloop.qt module provided by PyQt4
and PyQt5 work only with Qt4 and Qt5, respectively. Trying to run
version from PyQt4 with a PyQt5 application, I get:
QSocketNotifier: Can only be used with threads started with QThread
QSocketNotifier: Can only be used with threads started with QThread
and connecting to singals doesn't work. Maybe it will make sense to
rename dbus.mainloop.qt to dbus.mainloop.qt5 in PyQt5? This will make
these modules co-installable, and it will be possible to use
dbus.mainloop.qt in PyQt4 apps and dbus.mainloop.qt5 in PyQt5 apps.
--
Dmitry Shachnev
More information about the PyQt
mailing list