@DNSB reported to me an error on some of the plugins I look after. The error was:
Code:
ModuleNotFoundError: No module named 'PyQt4'
Which is being triggered by one of the imports from the Qt5 not loading and attempts to load Qt4 happen.
When I looked the original error was:
Code:
Traceback (most recent call last):
File "calibre_plugins.goodreads.config", line 16, in <module>
ImportError: cannot import name 'Qt' from 'qt' (E:\CalibrePortable599\Calibre Portable\Calibre\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)
Which comes from the line:
Code:
from PyQt5 import Qt as QtGui
Is this something missed or do we need to change this? Looking through the code, "QtGui" is used mainly for some enums/type but, also a few classes that were not explicitly imported.