tests/auto/declarative/examples/tst_examples.cpp
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
--- a/tests/auto/declarative/examples/tst_examples.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/tests/auto/declarative/examples/tst_examples.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -47,6 +47,11 @@
 #include <QDeclarativeView>
 #include <QDeclarativeError>
 
+#ifdef Q_OS_SYMBIAN
+// In Symbian OS test data is located in applications private dir
+#define SRCDIR "."
+#endif
+
 class tst_examples : public QObject
 {
     Q_OBJECT
@@ -80,6 +85,7 @@
 
 
     // Add directories you want excluded here
+    excludedDirs << "doc/src/snippets/declarative/visualdatamodel_rootindex";
 
 #ifdef QT_NO_WEBKIT
     excludedDirs << "examples/declarative/modelviews/webview";