summaryrefslogtreecommitdiff
path: root/tests/system/shared/build_utils.py
diff options
context:
space:
mode:
authorRobert Löhning <robert.loehning@qt.io>2022-05-09 21:30:51 +0200
committerRobert Löhning <robert.loehning@qt.io>2022-05-11 12:10:06 +0000
commit9d5512b1374998d2928d14e14257253dfa9a0d26 (patch)
tree3ac363f9c11cec83087366033ec9d2603117498e /tests/system/shared/build_utils.py
parente33923ccd55b4fb77fdda1ab7a1e773980134a25 (diff)
downloadqt-creator-9d5512b1374998d2928d14e14257253dfa9a0d26.tar.gz
Squish: Retire Qt4
It can't be built with current compilers anymore and there are no more binary packages publicly available. Change-Id: I906789bbcca053690f39246ff7c3e602703ada37 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'tests/system/shared/build_utils.py')
-rw-r--r--tests/system/shared/build_utils.py28
1 files changed, 13 insertions, 15 deletions
diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py
index a58a1fa93d..b90561fedf 100644
--- a/tests/system/shared/build_utils.py
+++ b/tests/system/shared/build_utils.py
@@ -190,13 +190,12 @@ def verifyBuildConfig(currentTarget, configName, shouldBeDebug=False, enableShad
# it will wait here until compilation of the debug libraries has finished.
runCMakeButton = ("{type='QPushButton' text='Run CMake' unnamed='1' "
"window=':Qt Creator_Core::Internal::MainWindow'}")
- if currentTarget not in (Targets.DESKTOP_4_8_7_DEFAULT, Targets.EMBEDDED_LINUX):
- qmlDebuggingCombo = findObject(':Qt Creator.QML debugging and profiling:_QComboBox')
- if selectFromCombo(qmlDebuggingCombo, 'Enable'):
- if buildSystem is None or buildSystem == "CMake": # re-run cmake to apply
- clickButton(waitForObject(runCMakeButton))
- elif buildSystem == "qmake": # Don't rebuild now
- clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000))
+ qmlDebuggingCombo = findObject(':Qt Creator.QML debugging and profiling:_QComboBox')
+ if selectFromCombo(qmlDebuggingCombo, 'Enable'):
+ if buildSystem is None or buildSystem == "CMake": # re-run cmake to apply
+ clickButton(waitForObject(runCMakeButton))
+ elif buildSystem == "qmake": # Don't rebuild now
+ clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000))
try:
problemFound = waitForObject("{window=':Qt Creator_Core::Internal::MainWindow' "
"type='QLabel' name='problemLabel' visible='1'}", 1000)
@@ -205,14 +204,13 @@ def verifyBuildConfig(currentTarget, configName, shouldBeDebug=False, enableShad
except:
pass
else:
- if currentTarget not in (Targets.DESKTOP_4_8_7_DEFAULT, Targets.EMBEDDED_LINUX):
- qmlDebuggingCombo = findObject(':Qt Creator.QML debugging and profiling:_QComboBox')
- if selectFromCombo(qmlDebuggingCombo, "Disable"):
- test.log("Qml debugging libraries are available - unchecked qml debugging.")
- if buildSystem is None or buildSystem == "CMake": # re-run cmake to apply
- clickButton(waitForObject(runCMakeButton))
- elif buildSystem == "qmake": # Don't rebuild now
- clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000))
+ qmlDebuggingCombo = findObject(':Qt Creator.QML debugging and profiling:_QComboBox')
+ if selectFromCombo(qmlDebuggingCombo, "Disable"):
+ test.log("Qml debugging libraries are available - unchecked qml debugging.")
+ if buildSystem is None or buildSystem == "CMake": # re-run cmake to apply
+ clickButton(waitForObject(runCMakeButton))
+ elif buildSystem == "qmake": # Don't rebuild now
+ clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000))
clickButton(waitForObject(":scrollArea.Details_Utils::DetailsButton"))
switchViewTo(ViewConstants.EDIT)