summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatterns/xmlpatterns.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/xmlpatterns/xmlpatterns.pro')
-rw-r--r--tests/auto/xmlpatterns/xmlpatterns.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/xmlpatterns/xmlpatterns.pro b/tests/auto/xmlpatterns/xmlpatterns.pro
index 569e23f..01e3b2b 100644
--- a/tests/auto/xmlpatterns/xmlpatterns.pro
+++ b/tests/auto/xmlpatterns/xmlpatterns.pro
@@ -2,4 +2,10 @@ load(qttest_p4)
SOURCES += tst_xmlpatterns.cpp \
../qxmlquery/TestFundament.cpp
+!wince* {
+DEFINES += SRCDIR=\\\"$$PWD/\\\"
+} else {
+DEFINES += SRCDIR=\\\"./\\\"
+}
+
include (../xmlpatterns.pri)