diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-08-11 07:38:03 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-08-11 07:38:03 (GMT) |
commit | 7ae19c4358a4cd7907569c12a2d3c4784257808e (patch) | |
tree | eec3279a625e6c600a15b19c26b12ad1d81e7640 /tests/auto/qxmlquery | |
parent | d1ce08936b4a6f4ce2b2e878287de76d47df0b8c (diff) | |
download | Qt-7ae19c4358a4cd7907569c12a2d3c4784257808e.zip Qt-7ae19c4358a4cd7907569c12a2d3c4784257808e.tar.gz Qt-7ae19c4358a4cd7907569c12a2d3c4784257808e.tar.bz2 |
Fixed SRCDIR for qxmlquery autotest for Symbian
Diffstat (limited to 'tests/auto/qxmlquery')
-rw-r--r-- | tests/auto/qxmlquery/qxmlquery.pro | 8 | ||||
-rw-r--r-- | 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 |