Squish: Fix handling of enabling Qml Debugging

Amends 0168a42b72.

Change-Id: I71c32a94fa6de4f64d03c9c73681e30496c2560d
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2020-01-30 13:27:41 +01:00
parent eebbd1ebc8
commit 0275e0fa6a

View File

@@ -186,7 +186,7 @@ def verifyBuildConfig(currentTarget, configName, shouldBeDebug=False, enableShad
# it will wait here until compilation of the debug libraries has finished. # it will wait here until compilation of the debug libraries has finished.
if currentTarget not in (Targets.DESKTOP_4_8_7_DEFAULT, Targets.EMBEDDED_LINUX): if currentTarget not in (Targets.DESKTOP_4_8_7_DEFAULT, Targets.EMBEDDED_LINUX):
qmlDebuggingCombo = findObject(':Qt Creator.QML debugging and profiling:_QComboBox') qmlDebuggingCombo = findObject(':Qt Creator.QML debugging and profiling:_QComboBox')
selectFromCombo(qmlDebuggingCombo, 'Enable') if selectFromCombo(qmlDebuggingCombo, 'Enable'):
# Don't rebuild now # Don't rebuild now
clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000)) clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000))
try: try: