forked from qt-creator/qt-creator
Squish: Don't explicitly pass default to createNewQtQuickApplication
Change-Id: I006c6cad0e972006475ad488b9a71def09de0dbb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -31,9 +31,7 @@ def main():
|
||||
return
|
||||
# using a temporary directory won't mess up a potentially existing
|
||||
workingDir = tempDir()
|
||||
# we need a Qt >= 5.3 - we use checkedTargets, so we should get only valid targets
|
||||
analyzerTargets = Targets.desktopTargetClasses()
|
||||
projectName = createNewQtQuickApplication(workingDir, targets=analyzerTargets)[1]
|
||||
projectName = createNewQtQuickApplication(workingDir)[1]
|
||||
editor = waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget")
|
||||
if placeCursorToLine(editor, "}"):
|
||||
type(editor, '<Left>')
|
||||
|
@@ -29,11 +29,9 @@ def main():
|
||||
startApplication("qtcreator" + SettingsPath)
|
||||
if not startedWithoutPluginError():
|
||||
return
|
||||
# Requires Qt 4.8
|
||||
targets = Targets.desktopTargetClasses()
|
||||
# using a temporary directory won't mess up a potentially existing
|
||||
workingDir = tempDir()
|
||||
projectName = createNewQtQuickApplication(workingDir, targets=targets)[1]
|
||||
projectName = createNewQtQuickApplication(workingDir)[1]
|
||||
editor = waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget")
|
||||
if placeCursorToLine(editor, "}"):
|
||||
type(editor, '<Left>')
|
||||
|
Reference in New Issue
Block a user