summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/examples/tst_examples.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-13 07:00:32 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-13 07:00:32 (GMT)
commit1b5268b672eadf41d859a8b7f5e34ebd752479b8 (patch)
tree3244cc628c1090e4466da3e1a71c8059de6ca1d3 /tests/auto/declarative/examples/tst_examples.cpp
parented5cbe3cc5d57360c205d22deb8bb77063227b8f (diff)
downloadQt-1b5268b672eadf41d859a8b7f5e34ebd752479b8.zip
Qt-1b5268b672eadf41d859a8b7f5e34ebd752479b8.tar.gz
Qt-1b5268b672eadf41d859a8b7f5e34ebd752479b8.tar.bz2
Exclude webview examples when compiled without webview
Diffstat (limited to 'tests/auto/declarative/examples/tst_examples.cpp')
-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 3e5c0ae..dfcc9c0 100644
--- a/tests/auto/declarative/examples/tst_examples.cpp
+++ b/tests/auto/declarative/examples/tst_examples.cpp
@@ -90,6 +90,12 @@ tst_examples::tst_examples()
excludedDirs << "examples/declarative/plugins";
excludedDirs << "examples/declarative/proxywidgets";
excludedDirs << "examples/declarative/gestures";
+
+#ifdef QT_NO_WEBKIT
+ excludedDirs << "examples/declarative/webview";
+ excludedDirs << "demos/declarative/webbrowser";
+#endif
+
#ifdef QT_NO_XMLPATTERNS
excludedDirs << "examples/declarative/xmldata";
excludedDirs << "demos/declarative/twitter";