tests/auto/xmlpatternsxqts/test/test.pro
changeset 0 1918ee327afb
child 3 41300fa6a67c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/auto/xmlpatternsxqts/test/test.pro	Mon Jan 11 14:00:40 2010 +0000
@@ -0,0 +1,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)