summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsxqts/test/test.pro
blob: a69838af5e2148d1cf1c0ea04d4cc2e8dd95d884 (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
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