Commit 226a11db authored by Bill King's avatar Bill King
Browse files

More sensible options (with fallback)

Change-Id: I32afb2ed7e690d3dfc9b2ba47d2007d03d29d2cb

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarChristian Stenger <>
parent c42351be
......@@ -19,6 +19,12 @@ def openCmakeProject(projectPath):
type(findObject("{name='fileNameEdit' type='QLineEdit'}"), projectPath)
clickButton(findObject("{text='Open' type='QPushButton'}"))
clickButton(waitForObject(":CMake Wizard.Next_QPushButton", 20000))
generatorCombo = waitForObject(":Generator:_QComboBox")
index = generatorCombo.findText("MinGW Generator (MinGW from SDK)")
if index == -1:
index = generatorCombo.findText("NMake Generator (Microsoft Visual C++ Compiler 9.0 (x86))")
if index != -1:
clickButton(waitForObject(":CMake Wizard.Run CMake_QPushButton", 20000))
clickButton(waitForObject(":CMake Wizard.Finish_QPushButton", 60000))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment