summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-06-05 14:51:32 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-07 00:38:44 +0200
commitbb10660bea9b681069fd1686a400f128e6ebc428 (patch)
tree7787bda4c17c2ce4dfc1ea9b6dae071c896b4f83 /tests
parent6f1b118b4ddb18e1289e7b0626004961f2273cfe (diff)
Make itemmodels autotest build without widgets
Change-Id: I7ff1a575c111452397c3461842c15bb01105cf95 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/itemmodels/itemmodels.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/corelib/itemmodels/itemmodels.pro b/tests/auto/corelib/itemmodels/itemmodels.pro
index 418c5e1678..5221bfae81 100644
--- a/tests/auto/corelib/itemmodels/itemmodels.pro
+++ b/tests/auto/corelib/itemmodels/itemmodels.pro
@@ -1,9 +1,11 @@
TEMPLATE=subdirs
SUBDIRS = qabstractitemmodel \
+ qstringlistmodel
+
+!contains(QT_CONFIG, no-widgets): SUBDIRS += \
qabstractproxymodel \
qidentityproxymodel \
qitemmodel \
qitemselectionmodel \
qsortfilterproxymodel \
- qstringlistmodel