summaryrefslogtreecommitdiff
path: root/tests/auto/qxmlquery/qxmlquery.pro
blob: d5e822846efc86503cee4a323a5d95ae86bcae3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
load(qttest_p4)
SOURCES += tst_qxmlquery.cpp MessageValidator.cpp TestFundament.cpp
HEADERS += PushBaseliner.h                              \
           MessageSilencer.h                            \
           ../qsimplexmlnodemodel/TestSimpleNodeModel.h \
           MessageValidator.h                           \
           NetworkOverrider.h

RESOURCES = input.qrc

QT += network

wince* {
    DEFINES += SRCDIR=\\\"./\\\"
} else:!symbian {
    DEFINES += SRCDIR=\\\"$$PWD/\\\"
}

include (../xmlpatterns.pri)

wince*|symbian: {
   addFiles.files = pushBaselines input.xml
   addFiles.path    = .

   patternistFiles.files = ../xmlpatterns/queries
   symbian: {
       #../xmlpatterns resolves to an illegal path for deployment
       patternistFiles.path    = xmlpatterns
   } else {
       patternistFiles.path    = ../xmlpatterns
   }

   DEPLOYMENT += addFiles patternistFiles
}