Commit d3c94a6c authored by Robert Loehning's avatar Robert Loehning

Squish: Updated createProject_Qt_Console()

Change-Id: I7c3efd967f292ce5b132eeba79e51f9aabc54501
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent e367a39c
......@@ -207,10 +207,8 @@ def createNewQtQuickApplication(workingDir, projectName = None, templateFile = N
targets=QtQuickConstants.desktopTargetClasses(), qtQuickVersion=1,
fromWelcome=False):
if templateFile:
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)
available = __createProjectOrFileSelectType__(" Applications", "Qt Quick %d Application (from Existing QML File)"
% qtQuickVersion, 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