This change was missed in the Qt4 -> Qt5 conversion.
try:
import PyQt5,sip
from PyQt5 import QtWidgets,QtCore
- import dbus.mainloop.qt
+ import dbus.mainloop.pyqt5
import dbus
except ImportError as e:
sys.stderr.write('There was an error importing needed libraries\n'
return left+right
def main():
- dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True)
+ dbus.mainloop.pyqt5.DBusQtMainLoop(set_as_default=True)
app=QtWidgets.QApplication(sys.argv)
qpaeq_main=QPaeq()
qpaeq_main.show()