aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_general/tst_build_speedcrunch/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/suite_general/tst_build_speedcrunch/test.py')
-rw-r--r--tests/system/suite_general/tst_build_speedcrunch/test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/system/suite_general/tst_build_speedcrunch/test.py b/tests/system/suite_general/tst_build_speedcrunch/test.py
index 8ba749b1680..e98a9b0e9a5 100644
--- a/tests/system/suite_general/tst_build_speedcrunch/test.py
+++ b/tests/system/suite_general/tst_build_speedcrunch/test.py
@@ -41,7 +41,10 @@ def main():
startQC()
if not startedWithoutPluginError():
return
- openQmakeProject(SpeedCrunchPath, [Targets.DESKTOP_4_8_7_DEFAULT])
+ targetToChoose = Targets.DESKTOP_4_8_7_DEFAULT
+ if not qt4Available:
+ targetToChoose = Targets.DESKTOP_5_14_1_DEFAULT
+ openQmakeProject(SpeedCrunchPath, [targetToChoose])
waitForProjectParsing()
fancyToolButton = waitForObject(":*Qt Creator_Core::Internal::FancyToolButton")