Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e31bd9

Browse files
authored
Merge pull request #9469 from zerothi/setupext
FIX: PyQt versions where showing the Qt versions
2 parents 8cd3eaf + 77b8174 commit 9e31bd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setupext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,7 +2083,7 @@ def backend_pyqt4_internal_check(self):
20832083

20842084
try:
20852085
qt_version = QtCore.QT_VERSION
2086-
pyqt_version_str = QtCore.QT_VERSION_STR
2086+
pyqt_version_str = QtCore.PYQT_VERSION_STR
20872087
except AttributeError:
20882088
raise CheckFailed('PyQt4 not correctly imported')
20892089
else:
@@ -2133,7 +2133,7 @@ def backend_pyqt5_internal_check(self):
21332133

21342134
try:
21352135
qt_version = QtCore.QT_VERSION
2136-
pyqt_version_str = QtCore.QT_VERSION_STR
2136+
pyqt_version_str = QtCore.PYQT_VERSION_STR
21372137
except AttributeError:
21382138
raise CheckFailed('PyQt5 not correctly imported')
21392139
else:

0 commit comments

Comments
 (0)