From d3ad49ea4db64a6bf572eb5f30d122003ac42e94 Mon Sep 17 00:00:00 2001
From: Robert Loehning <robert.loehning@nokia.com>
Date: Mon, 20 Feb 2012 20:09:01 +0100
Subject: [PATCH] Squish: Excluding Maemo target from Qt Quick projects

Change-Id: Ief66b17723d867711bd9eb4a9fa549e930efd7f9
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
---
 tests/system/shared/project.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py
index 1ebf8fbe351..f4af296902a 100644
--- a/tests/system/shared/project.py
+++ b/tests/system/shared/project.py
@@ -202,6 +202,9 @@ def createNewQtQuickApplication(workingDir, projectName = None, templateFile = N
         available = __createProjectSelectType__("  Applications", "Qt Quick Application (from existing \.qml file)")
     else:
         available = __createProjectSelectType__("  Applications", "Qt Quick Application (Built-in elements)")
+    # This needs Qt 4.7 - a version we don't have for Maemo
+    if QtQuickConstants.Targets.MAEMO5 in available:
+        available.remove(QtQuickConstants.Targets.MAEMO5)
     projectName = __createProjectSetNameAndPath__(workingDir, projectName)
     if templateFile:
         baseLineEd = waitForObject("{type='Utils::BaseValidatingLineEdit' unnamed='1' visible='1'}", 20000)
-- 
GitLab