summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtextodfwriter
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtextodfwriter')
-rw-r--r--tests/auto/qtextodfwriter/qtextodfwriter.pro4
-rw-r--r--tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/qtextodfwriter/qtextodfwriter.pro b/tests/auto/qtextodfwriter/qtextodfwriter.pro
index 3c40d67..2689894 100644
--- a/tests/auto/qtextodfwriter/qtextodfwriter.pro
+++ b/tests/auto/qtextodfwriter/qtextodfwriter.pro
@@ -1,5 +1,5 @@
load(qttest_p4)
SOURCES += tst_qtextodfwriter.cpp
-DEFINES += SRCDIR=\\\"$$PWD\\\"
-
+!symbian:DEFINES += SRCDIR=\\\"$$PWD\\\"
+symbian:INCLUDEPATH+=$$[QT_INSTALL_PREFIX]/include/QtGui/private
diff --git a/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp b/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp
index 1971493..d784c99 100644
--- a/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp
+++ b/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp
@@ -47,6 +47,10 @@
#include <QBuffer>
#include <QDebug>
+#ifdef Q_OS_SYMBIAN
+#define SRCDIR "."
+#endif
+
#include <private/qtextodfwriter_p.h>
class tst_QTextOdfWriter : public QObject