tests/auto/declarative/examples/tst_examples.cpp
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    45 #include <QDebug>
    45 #include <QDebug>
    46 #include "qmlruntime.h"
    46 #include "qmlruntime.h"
    47 #include <QDeclarativeView>
    47 #include <QDeclarativeView>
    48 #include <QDeclarativeError>
    48 #include <QDeclarativeError>
    49 
    49 
       
    50 #ifdef Q_OS_SYMBIAN
       
    51 // In Symbian OS test data is located in applications private dir
       
    52 #define SRCDIR "."
       
    53 #endif
       
    54 
    50 class tst_examples : public QObject
    55 class tst_examples : public QObject
    51 {
    56 {
    52     Q_OBJECT
    57     Q_OBJECT
    53 public:
    58 public:
    54     tst_examples();
    59     tst_examples();
    78     qmlruntime = QDir(binaries).absoluteFilePath("qml");
    83     qmlruntime = QDir(binaries).absoluteFilePath("qml");
    79 #endif
    84 #endif
    80 
    85 
    81 
    86 
    82     // Add directories you want excluded here
    87     // Add directories you want excluded here
       
    88     excludedDirs << "doc/src/snippets/declarative/visualdatamodel_rootindex";
    83 
    89 
    84 #ifdef QT_NO_WEBKIT
    90 #ifdef QT_NO_WEBKIT
    85     excludedDirs << "examples/declarative/modelviews/webview";
    91     excludedDirs << "examples/declarative/modelviews/webview";
    86     excludedDirs << "demos/declarative/webbrowser";
    92     excludedDirs << "demos/declarative/webbrowser";
    87 #endif
    93 #endif