summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-12 08:16:07 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-08-12 08:16:07 (GMT)
commitbceb9733ceae86612adb622d88d6681a13ccd52c (patch)
tree695d69c1db4cb8c84857edfd2df55087ee685a9e /tests/auto
parent7191199ec9682a12d10619e87b373517022c2e28 (diff)
downloadQt-bceb9733ceae86612adb622d88d6681a13ccd52c.zip
Qt-bceb9733ceae86612adb622d88d6681a13ccd52c.tar.gz
Qt-bceb9733ceae86612adb622d88d6681a13ccd52c.tar.bz2
Fixed qdom autotest build break due to incorrect SRCDIR usage in Symbian.
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qdom/qdom.pro2
-rw-r--r--tests/auto/qdom/tst_qdom.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qdom/qdom.pro b/tests/auto/qdom/qdom.pro
index 84b721e..61914b5 100644
--- a/tests/auto/qdom/qdom.pro
+++ b/tests/auto/qdom/qdom.pro
@@ -10,7 +10,7 @@ wince*|symbian*: {
DEPLOYMENT += addFiles
DEPLOYMENT_PLUGIN += qcncodecs qjpcodecs qkrcodecs qtwcodecs
- DEFINES += SRCDIR=\\\"\\\"
+ !symbian:DEFINES += SRCDIR=\\\"\\\"
}
else {
DEFINES += SRCDIR=\\\"$$PWD/\\\"
diff --git a/tests/auto/qdom/tst_qdom.cpp b/tests/auto/qdom/tst_qdom.cpp
index 5b4787f..cea0402 100644
--- a/tests/auto/qdom/tst_qdom.cpp
+++ b/tests/auto/qdom/tst_qdom.cpp
@@ -52,6 +52,10 @@
#include <QtXml>
#include <QVariant>
+#if defined(Q_OS_SYMBIAN)
+# define SRCDIR ""
+#endif
+
//TESTED_CLASS=
//TESTED_FILES=