diff options
Diffstat (limited to 'tests/auto/qcssparser')
-rw-r--r-- | tests/auto/qcssparser/qcssparser.pro | 7 | ||||
-rw-r--r-- | tests/auto/qcssparser/tst_cssparser.cpp | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/tests/auto/qcssparser/qcssparser.pro b/tests/auto/qcssparser/qcssparser.pro index 57d6804..b655db1 100644 --- a/tests/auto/qcssparser/qcssparser.pro +++ b/tests/auto/qcssparser/qcssparser.pro @@ -1,11 +1,14 @@ load(qttest_p4) SOURCES += tst_cssparser.cpp -DEFINES += SRCDIR=\\\"$$PWD\\\" QT += xml +!symbian: { + DEFINES += SRCDIR=\\\"$$PWD\\\" +} -wince*: { +wince*|symbian: { addFiles.sources = testdata addFiles.path = . DEPLOYMENT += addFiles } + diff --git a/tests/auto/qcssparser/tst_cssparser.cpp b/tests/auto/qcssparser/tst_cssparser.cpp index ab6bad6..c3397ea 100644 --- a/tests/auto/qcssparser/tst_cssparser.cpp +++ b/tests/auto/qcssparser/tst_cssparser.cpp @@ -98,7 +98,7 @@ void tst_CssParser::scanner_data() QTest::addColumn<QString>("input"); QTest::addColumn<QString>("output"); -#if !defined(Q_OS_IRIX) && !defined(Q_OS_WINCE) +#if !defined(Q_OS_IRIX) && !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN) QDir d(SRCDIR); #else QDir d(QDir::current()); @@ -843,7 +843,7 @@ private: QDomDocument doc; }; -Q_DECLARE_METATYPE(QDomDocument); +Q_DECLARE_METATYPE(QDomDocument) void tst_CssParser::marginValue_data() { |