Commit dc66a01b authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Configure old Qt Quick projects with Qt 4



Change-Id: I3a891ba8a3ca5d437c114a95fb1620a200261301
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 0c68cbba
......@@ -79,7 +79,7 @@ def main():
if not startedWithoutPluginError():
return
# open example project
openQmakeProject(examplePath)
openQmakeProject(examplePath, Targets.DESKTOP_480_GCC)
# open qml file
openDocument("propertyanimation.QML.qml.color-animation\\.qml")
# get editor
......
......@@ -43,7 +43,7 @@ def main():
addHelpDocumentation([os.path.join(sdkPath, "Documentation", "qt.qch")])
templateDir = prepareTemplate(sourceExample)
installLazySignalHandler("{type='Core::FutureProgress' unnamed='1'}", "finished()", "__handleFutureProgress__")
openQmakeProject(os.path.join(templateDir,proFile))
openQmakeProject(os.path.join(templateDir,proFile), Targets.DESKTOP_480_GCC)
openDocument("focus.QML.qml.focus\\.qml")
testRenameId()
testFindUsages()
......
......@@ -42,7 +42,7 @@ def main():
test.verify(waitFor("sessionName in str(mainWindow.windowTitle)", 2000),
"Verifying window title contains created session name.")
for project in projects:
openQmakeProject(project)
openQmakeProject(project, Targets.DESKTOP_480_GCC)
progressBarWait(20000)
checkNavigator(68, "Verifying whether all projects have been opened.")
openDocument("propertyanimation.QML.qml.color-animation\\.qml")
......
......@@ -42,11 +42,7 @@ def main():
startApplication("qtcreator" + SettingsPath)
if not startedWithoutPluginError():
return
targets = openQmakeProject(os.path.join(templateDir, proFile))
# make sure we use the 474 kit for having QtQuick 1.0 support
switchViewTo(ViewConstants.PROJECTS)
switchToBuildOrRunSettingsFor(len(targets), 0, ProjectSettings.BUILD)
switchViewTo(ViewConstants.EDIT)
openQmakeProject(os.path.join(templateDir, proFile), Targets.DESKTOP_480_GCC)
qmlFiles = ["focus.QML.qml.focus\\.qml", "focus.QML.qml.Core.ListMenu\\.qml"]
checkOutlineFor(qmlFiles)
testModify()
......
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