Change minimum Qt version to 5.3
This commit is contained in:
+4
-4
@@ -221,14 +221,14 @@ def main(sysArgs=None):
|
|||||||
"At least Python 3.6.0 is required, found %s." % CONFIG.verPyString
|
"At least Python 3.6.0 is required, found %s." % CONFIG.verPyString
|
||||||
)
|
)
|
||||||
errorCode |= 4
|
errorCode |= 4
|
||||||
if CONFIG.verQtValue < 50200:
|
if CONFIG.verQtValue < 50300:
|
||||||
errorData.append(
|
errorData.append(
|
||||||
"At least Qt5 version 5.2 is required, found %s." % CONFIG.verQtString
|
"At least Qt5 version 5.3 is required, found %s." % CONFIG.verQtString
|
||||||
)
|
)
|
||||||
errorCode |= 8
|
errorCode |= 8
|
||||||
if CONFIG.verPyQtValue < 50200:
|
if CONFIG.verPyQtValue < 50300:
|
||||||
errorData.append(
|
errorData.append(
|
||||||
"At least PyQt5 version 5.2 is required, found %s." % CONFIG.verPyQtString
|
"At least PyQt5 version 5.3 is required, found %s." % CONFIG.verPyQtString
|
||||||
)
|
)
|
||||||
errorCode |= 16
|
errorCode |= 16
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2050,7 +2050,7 @@ class GuiDocEditSearch(QFrame):
|
|||||||
self._alertSearchValid(theRegEx.isValid())
|
self._alertSearchValid(theRegEx.isValid())
|
||||||
return theRegEx
|
return theRegEx
|
||||||
|
|
||||||
elif self.mainConf.verQtValue >= 50300:
|
else: # >= 50300 to < 51300
|
||||||
if self.isCaseSense:
|
if self.isCaseSense:
|
||||||
rxOpt = Qt.CaseSensitive
|
rxOpt = Qt.CaseSensitive
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user