You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/pyqtgraph/files/pyqtgraph-0.11.0-qt5_only.p...

12 lines
361 B

--- a/pyqtgraph/Qt.py
+++ b/pyqtgraph/Qt.py
@@ -25,7 +25,7 @@
## This is done by first checking to see whether one of the libraries
## is already imported. If not, then attempt to import PyQt4, then PySide.
if QT_LIB is None:
- libOrder = [PYQT4, PYSIDE, PYQT5, PYSIDE2]
+ libOrder = [PYQT5]
for lib in libOrder:
if lib in sys.modules: