summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/uiloader/uiloader/tst_uiloader.cpp3
-rw-r--r--tests/auto/uiloader/uiloader/uiloader.pro4
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/uiloader/uiloader/tst_uiloader.cpp b/tests/auto/uiloader/uiloader/tst_uiloader.cpp
index ad93fba..114b7c3 100644
--- a/tests/auto/uiloader/uiloader/tst_uiloader.cpp
+++ b/tests/auto/uiloader/uiloader/tst_uiloader.cpp
@@ -46,6 +46,9 @@
#include <QApplication>
#include <QDir>
+#ifdef Q_OS_SYMBIAN
+#define SRCDIR ""
+#endif
class uiLoaderAutotest: public QObject
{
diff --git a/tests/auto/uiloader/uiloader/uiloader.pro b/tests/auto/uiloader/uiloader/uiloader.pro
index 1c4da0b..d99df00 100644
--- a/tests/auto/uiloader/uiloader/uiloader.pro
+++ b/tests/auto/uiloader/uiloader/uiloader.pro
@@ -3,7 +3,7 @@ load(qttest_p4)
TEMPLATE = app
!embedded:CONFIG += uitools
TARGET = ../tst_uiloader
-DEFINES += SRCDIR=\\\"$$PWD\\\"
+!symbian:DEFINES += SRCDIR=\\\"$$PWD\\\"
win32 {
CONFIG(debug, debug|release) {
@@ -16,7 +16,7 @@ win32 {
QT += xml svg network
contains(QT_CONFIG, qt3support): QT += qt3support
-wince*: {
+wince*|symbian: {
configuration.sources = ../*.ini
configuration.path = .