Skip to content

Commit 1171fa9

Browse files
authored
Merge pull request #2080 from kernc/fixup
Have AnyQt pin the chosen PyQt version before other libs
2 parents 1165800 + a52c8b9 commit 1171fa9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Orange/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@
3333
pass
3434
else:
3535
if AnyQt.USED_API == "pyqt5":
36+
# Make the chosen PyQt version pinned
37+
from AnyQt.QtCore import QObject
38+
del QObject
39+
3640
import pyqtgraph # import pyqtgraph first so that it can detect Qt5
3741
del pyqtgraph
42+
3843
AnyQt.importhooks.install_backport_hook('pyqt4')
3944
del AnyQt

0 commit comments

Comments
 (0)