summaryrefslogtreecommitdiff
path: root/tests/auto/qapplicationargumentparser
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/qapplicationargumentparser
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/qapplicationargumentparser')
-rw-r--r--tests/auto/qapplicationargumentparser/qapplicationargumentparser.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qapplicationargumentparser/qapplicationargumentparser.pro b/tests/auto/qapplicationargumentparser/qapplicationargumentparser.pro
index f970638..793f2e1 100644
--- a/tests/auto/qapplicationargumentparser/qapplicationargumentparser.pro
+++ b/tests/auto/qapplicationargumentparser/qapplicationargumentparser.pro
@@ -5,3 +5,4 @@ SOURCES += tst_qapplicationargumentparser.cpp \
../../../tools/xmlpatterns/qapplicationargumentparser.cpp
QT = core testlib
INCLUDEPATH += ../../../tools/xmlpatterns/
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0