Commit 1f7f2207 authored by Samuel GAIST's avatar Samuel GAIST

[utils] Use the qVersion method to get the version string

parent 2ec57a63
Pipeline #50610 passed with stage
in 23 minutes and 52 seconds
......@@ -40,7 +40,7 @@ from ..backend.asset import AssetType
def test_Qt_version_equal():
assert utils.is_Qt_equal_or_higher(QtCore.QT_VERSION_STR)
assert utils.is_Qt_equal_or_higher(QtCore.qVersion())
def test_Qt_version_higher():
......
......@@ -121,7 +121,7 @@ def dataformat_basetypes():
def is_Qt_equal_or_higher(version_string):
return version.parse(QtCore.QT_VERSION_STR) >= version.parse(version_string)
return version.parse(QtCore.qVersion()) >= version.parse(version_string)
def check_prefix_folders(prefix_path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment