summaryrefslogtreecommitdiff
path: root/tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-01 13:56:22 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-01 15:03:23 +0200
commit5188ded26930645e4856c59561225040033e3187 (patch)
treed6ff7f464571e6e9bac9d044093221d64c672cdd /tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro
parent3dc36ccf4ebaec07845263a2fbc90519604d333d (diff)
downloadqtscript-5188ded26930645e4856c59561225040033e3187.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: I432719e9520662c9dda5eaa580f0b508de4120fe Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro')
-rw-r--r--tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro b/tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro
index a2ddc27..309ecb3 100644
--- a/tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro
+++ b/tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro
@@ -4,3 +4,4 @@ QT = core script testlib
SOURCES += tst_qscriptcontextinfo.cpp
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0