tests: disable qstandarditemmodel test when building without QtWidgets
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 30 Jul 2012 03:44:10 +0000 (13:44 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 30 Jul 2012 04:06:10 +0000 (06:06 +0200)
This test uses QTreeView.

Change-Id: I6ba56ad6ec3687a5b90d516be10d6f88e248d53d
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
tests/auto/gui/itemmodels/itemmodels.pro

index 2e7fabf..169100f 100644 (file)
@@ -1,4 +1,7 @@
 TEMPLATE=subdirs
 SUBDIRS= \
     qstandarditem \
-    qstandarditemmodel \
+    qstandarditemmodel
+
+isEmpty(QT.widgets.name):SUBDIRS -= \
+    qstandarditemmodel