Commit 2a2ecdc3 authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Prepare enabling Qt5 for suite_qtquick



Change-Id: I7c4ac62be8f30867953f776ad56ab3ffbf6cd909
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 2665eced
......@@ -255,20 +255,21 @@ def createNewQtQuickApplication(workingDir, projectName = None, templateFile = N
progressBarWait(10000)
return checkedTargets, projectName
def createNewQtQuickUI(workingDir):
__createProjectOrFileSelectType__(" Applications", "Qt Quick 1 UI")
def createNewQtQuickUI(workingDir, qtQuickVersion=1):
__createProjectOrFileSelectType__(" Applications", "Qt Quick %d UI" % qtQuickVersion)
if workingDir == None:
workingDir = tempDir()
projectName = __createProjectSetNameAndPath__(workingDir)
__createProjectHandleLastPage__()
return projectName
def createNewQmlExtension(workingDir):
available = __createProjectOrFileSelectType__(" Libraries", "Qt Quick 1 Extension Plugin")
def createNewQmlExtension(workingDir, targets=Targets.DESKTOP_474_GCC, qtQuickVersion=1):
available = __createProjectOrFileSelectType__(" Libraries", "Qt Quick %d Extension Plugin"
% qtQuickVersion)
if workingDir == None:
workingDir = tempDir()
__createProjectSetNameAndPath__(workingDir)
checkedTargets = __chooseTargets__(Targets.DESKTOP_474_GCC, available)
checkedTargets = __chooseTargets__(targets, available)
nextButton = waitForObject(":Next_QPushButton")
clickButton(nextButton)
nameLineEd = waitForObject("{buddy={type='QLabel' text='Object class-name:' unnamed='1' visible='1'} "
......
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