Commit c6e74126 authored by Robert Loehning's avatar Robert Loehning

Squish: Update for renamed wizard

Change-Id: Ib8c5766171aa87c112286073ef82e776a0dc45e5
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 41e24cb0
......@@ -202,7 +202,10 @@ def createNewQtQuickApplication(workingDir, projectName = None, templateFile = N
targets = QtQuickConstants.Targets.DESKTOP_474_GCC, qtQuickVersion=1,
fromWelcome=False):
if templateFile:
available = __createProjectOrFileSelectType__(" Applications", "Qt Quick Application (from Existing QML File)", fromWelcome)
if qtQuickVersion == 2:
test.fatal('There is no wizard "Qt Quick 2 Application (from Existing QML File)"',
'This is a script error. Using Qt Quick 1 instead.')
available = __createProjectOrFileSelectType__(" Applications", "Qt Quick 1 Application (from Existing QML File)", fromWelcome)
else:
available = __createProjectOrFileSelectType__(" Applications", "Qt Quick %d Application (Built-in Elements)"
% qtQuickVersion, fromWelcome)
......
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