Closed danfe closed 3 years ago
Qt.py
is https://github.com/mottosso/Qt.py which can avoid having to touch those parts (it allows for portability between PyQt4/5 and PySide2).
Sorry about the minibar imports -- for that what we'd probably want to do is have it catch ImportError
and disable that functionality when those modules aren't available.
There are two Python scripts, partinspect and partedit, which are not PyQt5-ready when used verbatim. Simply changing
from Qt
tofrom PyQt5
in the import section allows me to run partinspect. For partedit however it's not enough, it then complains aboutfrom minibar.gui import mbWidgetStyling
and I'm not sure what to do about this.