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
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to