summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-07-30 10:16:16 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-07-30 10:16:16 (GMT)
commit85c37140e48411b2400dd34bdf1eb7bc38e0f73b (patch)
tree58ae49897ecb56b1c19e7b6bdb18661b486f107e /tests
parentb9c45a1e2fd9bc19287aebd0ffe92bbfa443a6cf (diff)
downloadQt-85c37140e48411b2400dd34bdf1eb7bc38e0f73b.zip
Qt-85c37140e48411b2400dd34bdf1eb7bc38e0f73b.tar.gz
Qt-85c37140e48411b2400dd34bdf1eb7bc38e0f73b.tar.bz2
Fixed UiLoader autotest case build errors for Symbian.
Diffstat (limited to 'tests')
-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 = .