diff options
author | Christian Stenger <christian.stenger@qt.io> | 2018-06-27 09:33:05 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2018-06-29 05:17:55 +0000 |
commit | 2801372d468caa435b24ca7b3b0ca21912d73daf (patch) | |
tree | 2328a3f2b6e334c0bd4645003a5ffef8454019a4 /tests/system/shared | |
parent | 3f54c55e58d6c9cfe01bc07a6cc5a866ff3a946d (diff) | |
download | qt-creator-2801372d468caa435b24ca7b3b0ca21912d73daf.tar.gz |
Squish: Fix expected targets for widget app wizard
Reverts cd45ce5f391c.
Change-Id: I6865e6c91fd961ac36da160a01c676f5274c40cc
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/shared')
-rw-r--r-- | tests/system/shared/project.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py index f48f261f67..313ace186c 100644 --- a/tests/system/shared/project.py +++ b/tests/system/shared/project.py @@ -541,15 +541,13 @@ def __getSupportedPlatforms__(text, templateName, getAsStrings=False): supports = text[text.find('Supported Platforms'):].split(":")[1].strip().split(" ") result = [] if 'Desktop' in supports: - if version == None or version < "5.0": + if (version == None or version < "5.0") and templateName != "Qt Widgets Application": result.append(Targets.DESKTOP_4_8_7_DEFAULT) if platform.system() in ("Linux", "Darwin"): result.append(Targets.EMBEDDED_LINUX) result.extend([Targets.DESKTOP_5_6_1_DEFAULT, Targets.DESKTOP_5_10_1_DEFAULT]) if platform.system() != 'Darwin': result.append(Targets.DESKTOP_5_4_1_GCC) - if templateName == "Qt Widgets Application": - result.remove(Targets.DESKTOP_4_8_7_DEFAULT) elif 'Platform independent' in text: result = Targets.desktopTargetClasses() else: |