summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsxqts/test/test.pro
blob: 603ae65b261edbff71f510d8e81bdf3c5ee3b2a0 (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
load(qttest_p4)
SOURCES += tst_xmlpatternsxqts.cpp ../../qxmlquery/TestFundament.cpp tst_suitetest.cpp

include(../../xmlpatterns.pri)

contains(QT_CONFIG,xmlpatterns) {
    HEADERS += tst_suitetest.h
    LIBS += -l$$XMLPATTERNS_SDK
}

# syncqt doesn't copy headers in tools/ so let's manually ensure
# it works with shadow builds and source builds.
INCLUDEPATH += $$(QTDIR)/include/QtXmlPatterns/private      \
               $$(QTSRCDIR)/include/QtXmlPatterns/private   \
               $$(QTSRCDIR)/tools/xmlpatterns               \
               $$(QTDIR)/tools/xmlpatterns                  \
               ../lib/

CONFIG += testlib
QT += xml
DESTDIR = ..
win32 {
    CONFIG(debug, debug|release): DESTDIR = ../debug
    else: DESTDIR = ../release
}
TARGET = tst_xmlpatternsxqts

include (../../xmlpatterns.pri)