From 77b8174d1c21b0e86e58b50fa37f408dc7623e2f Mon Sep 17 00:00:00 2001 From: Nick Papior Date: Wed, 18 Oct 2017 08:48:01 +0200 Subject: [PATCH] FIX: PyQt versions where showing the Qt versions This fixes the correct versions shown. Signed-off-by: Nick Papior --- setupext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setupext.py b/setupext.py index f4dbdd0fc745..69bbd0f12425 100644 --- a/setupext.py +++ b/setupext.py @@ -2080,7 +2080,7 @@ def backend_pyqt4_internal_check(self): try: qt_version = QtCore.QT_VERSION - pyqt_version_str = QtCore.QT_VERSION_STR + pyqt_version_str = QtCore.PYQT_VERSION_STR except AttributeError: raise CheckFailed('PyQt4 not correctly imported') else: @@ -2130,7 +2130,7 @@ def backend_pyqt5_internal_check(self): try: qt_version = QtCore.QT_VERSION - pyqt_version_str = QtCore.QT_VERSION_STR + pyqt_version_str = QtCore.PYQT_VERSION_STR except AttributeError: raise CheckFailed('PyQt5 not correctly imported') else: