From: duplo Date: Tue, 15 Dec 2009 15:50:13 +0000 (+0000) Subject: Modify the version check X-Git-Tag: 2.4.0~75 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=3245fef567ca8d88385b254cdd7622bdc78de655;p=bertos.git Modify the version check git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3122 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/qvariant_converter.py b/wizard/qvariant_converter.py index 97dccefa..8ff5be3c 100644 --- a/wizard/qvariant_converter.py +++ b/wizard/qvariant_converter.py @@ -40,9 +40,9 @@ from PyQt4.QtCore import PYQT_VERSION_STR # with older PyQt4 version. if PYQT_VERSION_STR <= "4.4.3": from qvariant_converter_old import * -elif PYQT_VERSION_STR < "4.5.0": +elif "4.4.3" < PYQT_VERSION_STR < "4.5": from qvariant_converter_4_4 import * -elif PYQT_VERSION_STR < "4.6.0": +elif "4.5" <= PYQT_VERSION_STR < "4.6": from qvariant_converter_4_5 import * else: from qvariant_converter_4_6 import *