Commit 87abfc36 authored by Christian Stenger's avatar Christian Stenger

Squish: Limit suite_CCOM to Qt4 kits

Change-Id: I49016d432221f39bc525fa4a548968294f139976
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 2a27ed5c
......@@ -44,7 +44,9 @@ def main():
if not startedWithoutPluginError():
return
# open example project
checkedTargets = openQmakeProject(examplePath)
# qmlapplicationviewer of this example supports only Qt version < 5
targets = Targets.desktopTargetClasses() ^ Targets.DESKTOP_501_DEFAULT ^ Targets.DESKTOP_521_DEFAULT
checkedTargets = openQmakeProject(examplePath, targets)
if not replaceLine("propertyanimation.Sources.main\\.cpp",
"#include <QtGui/QApplication>",
"#include <QApplication>"):
......
......@@ -44,7 +44,8 @@ def main():
if not startedWithoutPluginError():
return
# open example project
openQmakeProject(examplePath)
targets = Targets.desktopTargetClasses() ^ Targets.DESKTOP_501_DEFAULT ^ Targets.DESKTOP_521_DEFAULT
openQmakeProject(examplePath, targets)
# create syntax error
openDocument("propertyanimation.QML.qml.property-animation\\.qml")
if not appendToLine(waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget"), "Image {", "SyntaxError"):
......
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