summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfileinfo
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>2012-09-17 08:47:59 -0300
committerQt by Nokia <qt-info@nokia.com>2012-09-17 17:00:39 +0200
commit8bc578bae48571a415ca9577cf85df9acaa25da4 (patch)
treec3948bfbe6618f7583f1935036bb3388651fa17b /tests/auto/qfileinfo
parent7816018e6c2473c7d2d5ebd39bb62733923768f8 (diff)
Symbian: move SRCDIR definition to .pro file
This makes this test in line with other tests that define SRCDIR on the pro file instead. This change is not necessary in qt5 Change-Id: I789288c42a5c48bb62919fb361d2a357a8dd9832 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/auto/qfileinfo')
-rw-r--r--tests/auto/qfileinfo/qfileinfo.pro2
-rw-r--r--tests/auto/qfileinfo/tst_qfileinfo.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qfileinfo/qfileinfo.pro b/tests/auto/qfileinfo/qfileinfo.pro
index 7a2cf9cf32..c7ad4b3675 100644
--- a/tests/auto/qfileinfo/qfileinfo.pro
+++ b/tests/auto/qfileinfo/qfileinfo.pro
@@ -25,7 +25,7 @@ symbian {
wince* {
DEFINES += SRCDIR=\\\"\\\"
} else:symbian {
- # do not define SRCDIR at all
+ DEFINES += SRCDIR=""
} else {
DEFINES += SRCDIR=\\\"$$PWD/\\\"
}
diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp
index d0bd66fa33..4f7c6be0a5 100644
--- a/tests/auto/qfileinfo/tst_qfileinfo.cpp
+++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp
@@ -76,7 +76,6 @@
#include "../../shared/filesystem.h"
#if defined(Q_OS_SYMBIAN)
-# define SRCDIR ""
# define NO_SYMLINKS
#endif