summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatterns
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-01 13:48:22 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-01 15:03:18 +0200
commit8934e35bde9ec67b4b3a93217d73a0554b15d3b2 (patch)
treeb97ce3b2c7e35a55b0c5713168c7026e07460161 /tests/auto/xmlpatterns
parent9d30343dcd5344e748a28a0f23557a0c89c6d4c3 (diff)
downloadqtxmlpatterns-8934e35bde9ec67b4b3a93217d73a0554b15d3b2.tar.gz
Set the Qt API level to compatibility mode in all tests.
Qt 5.0 beta requires changing the default to the 5.0 API, disabling the deprecated code. However, tests should test (and often do) the compatibility API too, so turn it back on. Task-number: QTBUG-25053 Change-Id: Iab3d9fa844e74b7f8a17dbe1c26f9df6fa8dfadc Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/xmlpatterns')
-rw-r--r--tests/auto/xmlpatterns/xmlpatterns.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/xmlpatterns/xmlpatterns.pro b/tests/auto/xmlpatterns/xmlpatterns.pro
index 64aa794..93f905a 100644
--- a/tests/auto/xmlpatterns/xmlpatterns.pro
+++ b/tests/auto/xmlpatterns/xmlpatterns.pro
@@ -5,3 +5,4 @@ SOURCES += tst_xmlpatterns.cpp \
../qxmlquery/TestFundament.cpp
include (../xmlpatterns.pri)
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0