From d3ed242d24c1b23a83bbb101b3c0d27ae331da3f Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Mon, 18 Jan 2010 11:01:47 +0100
Subject: [PATCH] Compile qml autotests only if QtDeclarative module is
 available

---
 tests/auto/auto.pro | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 502e14c7416..413628194b8 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -6,5 +6,8 @@ SUBDIRS += \
     fakevim \
 #    profilereader \
     aggregation \
-    changeset \
-    qml
+    changeset
+
+contains (QT_CONFIG, declarative) {
+SUBDIRS += qml
+}
-- 
GitLab