summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/examples
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-04-12 12:37:36 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-04-12 12:37:36 (GMT)
commit0a226e31605ae9c1843e23adbe6be393f6cd8cac (patch)
treecb68554c05b15e4c8fe52d1abe25402c1d30a64e /tests/auto/declarative/examples
parentdb25af420b394e35883dedcbfd28fd02a8a573bd (diff)
downloadQt-0a226e31605ae9c1843e23adbe6be393f6cd8cac.zip
Qt-0a226e31605ae9c1843e23adbe6be393f6cd8cac.tar.gz
Qt-0a226e31605ae9c1843e23adbe6be393f6cd8cac.tar.bz2
Don't test XmlListModel examples on platforms without QtXmlPatterns
Diffstat (limited to 'tests/auto/declarative/examples')
-rw-r--r--tests/auto/declarative/examples/tst_examples.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp
index 25cd1ee..3d717bc 100644
--- a/tests/auto/declarative/examples/tst_examples.cpp
+++ b/tests/auto/declarative/examples/tst_examples.cpp
@@ -81,6 +81,12 @@ tst_examples::tst_examples()
excludedDirs << "examples/declarative/plugins";
excludedDirs << "examples/declarative/proxywidgets";
excludedDirs << "examples/declarative/gestures";
+#ifdef QT_NO_XMLPATTERNS
+ excludedDirs << "examples/declarative/xmldata";
+ excludedDirs << "demos/declarative/twitter";
+ excludedDirs << "demos/declarative/flickr";
+ excludedDirs << "demos/declarative/photoviewer";
+#endif
}
/*