summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlquery/qxmlquery.pro
blob: 044b7cec194f4156fd50789917a21dab6d34d73a (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.sources = pushBaselines input.xml
   addFiles.path    = .

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

   DEPLOYMENT += addFiles patternistFiles
}