Squish: Build speedcrunch with Qt5

Change-Id: I1fe79d6775b157fda26248917c9489edca88fd53
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2022-03-16 13:08:19 +01:00
parent 25d70414ab
commit a42b63ac05
2 changed files with 3 additions and 8 deletions

View File

@@ -69,10 +69,8 @@ def openCmakeProject(projectPath, buildDir):
invokeMenuItem("File", "Open File or Project...") invokeMenuItem("File", "Open File or Project...")
selectFromFileDialog(projectPath) selectFromFileDialog(projectPath)
__chooseTargets__([]) # uncheck all __chooseTargets__([]) # uncheck all
targetToChoose = Targets.DESKTOP_4_8_7_DEFAULT # FIXME make the intended target a parameter # FIXME make the intended target a parameter
if not qt4Available: __chooseTargets__([Targets.DESKTOP_5_14_1_DEFAULT], additionalFunc=additionalFunction)
targetToChoose = Targets.DESKTOP_5_14_1_DEFAULT
__chooseTargets__([targetToChoose], additionalFunc=additionalFunction)
clickButton(waitForObject(":Qt Creator.Configure Project_QPushButton")) clickButton(waitForObject(":Qt Creator.Configure Project_QPushButton"))
return True return True

View File

@@ -41,10 +41,7 @@ def main():
startQC() startQC()
if not startedWithoutPluginError(): if not startedWithoutPluginError():
return return
targetToChoose = Targets.DESKTOP_4_8_7_DEFAULT openQmakeProject(SpeedCrunchPath, [Targets.DESKTOP_5_14_1_DEFAULT])
if not qt4Available:
targetToChoose = Targets.DESKTOP_5_14_1_DEFAULT
openQmakeProject(SpeedCrunchPath, [targetToChoose])
waitForProjectParsing() waitForProjectParsing()
fancyToolButton = waitForObject(":*Qt Creator_Core::Internal::FancyToolButton") fancyToolButton = waitForObject(":*Qt Creator_Core::Internal::FancyToolButton")