From 8bc578bae48571a415ca9577cf85df9acaa25da4 Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Mon, 17 Sep 2012 08:47:59 -0300 Subject: 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 --- tests/auto/qfileinfo/qfileinfo.pro | 2 +- tests/auto/qfileinfo/tst_qfileinfo.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/auto/qfileinfo/qfileinfo.pro b/tests/auto/qfileinfo/qfileinfo.pro index 7a2cf9c..c7ad4b3 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 d0bd66f..4f7c6be 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 -- cgit v0.12