diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py index 6c0c9c52b4e..d9b55f6eead 100644 --- a/tests/system/shared/project.py +++ b/tests/system/shared/project.py @@ -507,7 +507,7 @@ def __getSupportedPlatforms__(text, templateName, getAsStrings=False): if templateName.startswith("Qt Quick Application - "): result = set([Targets.DESKTOP_5_10_1_DEFAULT, Targets.DESKTOP_5_14_1_DEFAULT]) elif 'Supported Platforms' in text: - supports = text[text.find('Supported Platforms'):].split(":")[1].strip().split(" ") + supports = text[text.find('Supported Platforms'):].split(":")[1].strip().split("\n") result = set() if 'Desktop' in supports: if (version == None or version < "5.0") and not templateName.startswith("Qt Quick 2"):