Commit 1f5b3ed6 authored by Christian Stenger's avatar Christian Stenger

Squish: Cleanup tst_simple_analyze

* workingDir should not be global
* handle missing Qt Creator plugins on startup

Change-Id: Ibb8267da9d3443104f6d895ff98b6047f693284e
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 874328fe
source("../../shared/qtcreator.py") source("../../shared/qtcreator.py")
workingDir = None
def main(): def main():
global workingDir
startApplication("qtcreator" + SettingsPath) startApplication("qtcreator" + SettingsPath)
if not startedWithoutPluginError():
return
# using a temporary directory won't mess up a potentially existing # using a temporary directory won't mess up a potentially existing
workingDir = tempDir() workingDir = tempDir()
checkedTargets, projectName = createNewQtQuickApplication(workingDir) checkedTargets, projectName = createNewQtQuickApplication(workingDir)
......
Markdown is supported
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