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

Skip to content

Commit 77b8174

Browse files
committed
FIX: PyQt versions where showing the Qt versions
This fixes the correct versions shown. Signed-off-by: Nick Papior <[email protected]>
1 parent d7ddd47 commit 77b8174

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
@@ -2080,7 +2080,7 @@ def backend_pyqt4_internal_check(self):
20802080

20812081
try:
20822082
qt_version = QtCore.QT_VERSION
2083-
pyqt_version_str = QtCore.QT_VERSION_STR
2083+
pyqt_version_str = QtCore.PYQT_VERSION_STR
20842084
except AttributeError:
20852085
raise CheckFailed('PyQt4 not correctly imported')
20862086
else:
@@ -2130,7 +2130,7 @@ def backend_pyqt5_internal_check(self):
21302130

21312131
try:
21322132
qt_version = QtCore.QT_VERSION
2133-
pyqt_version_str = QtCore.QT_VERSION_STR
2133+
pyqt_version_str = QtCore.PYQT_VERSION_STR
21342134
except AttributeError:
21352135
raise CheckFailed('PyQt5 not correctly imported')
21362136
else:

0 commit comments

Comments
 (0)