From 7ae19c4358a4cd7907569c12a2d3c4784257808e Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Tue, 11 Aug 2009 10:38:03 +0300 Subject: Fixed SRCDIR for qxmlquery autotest for Symbian --- tests/auto/qxmlquery/qxmlquery.pro | 8 ++++---- tests/auto/qxmlquery/tst_qxmlquery.cpp | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/auto/qxmlquery/qxmlquery.pro b/tests/auto/qxmlquery/qxmlquery.pro index 92700c5..cfab564 100644 --- a/tests/auto/qxmlquery/qxmlquery.pro +++ b/tests/auto/qxmlquery/qxmlquery.pro @@ -10,10 +10,10 @@ RESOURCES = input.qrc QT += network -!wince* { -DEFINES += SRCDIR=\\\"$$PWD/\\\" -} else { -DEFINES += SRCDIR=\\\"./\\\" +wince* { + DEFINES += SRCDIR=\\\"./\\\" +} else:!symbian { + DEFINES += SRCDIR=\\\"$$PWD/\\\" } include (../xmlpatterns.pri) diff --git a/tests/auto/qxmlquery/tst_qxmlquery.cpp b/tests/auto/qxmlquery/tst_qxmlquery.cpp index 32e1e16..b563e06 100644 --- a/tests/auto/qxmlquery/tst_qxmlquery.cpp +++ b/tests/auto/qxmlquery/tst_qxmlquery.cpp @@ -65,6 +65,10 @@ #include "TestFundament.h" #include "../network-settings.h" +#if defined(Q_OS_SYMBIAN) +#define SRCDIR "" +#endif + /*! \class tst_QXmlQuery \internal -- cgit v0.12