summaryrefslogtreecommitdiff
path: root/tests/auto/qscriptv8testsuite
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/qscriptv8testsuite
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/qscriptv8testsuite')
-rw-r--r--tests/auto/qscriptv8testsuite/qscriptv8testsuite.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qscriptv8testsuite/qscriptv8testsuite.pro b/tests/auto/qscriptv8testsuite/qscriptv8testsuite.pro
index a1c0852..23220b1 100644
--- a/tests/auto/qscriptv8testsuite/qscriptv8testsuite.pro
+++ b/tests/auto/qscriptv8testsuite/qscriptv8testsuite.pro
@@ -4,3 +4,4 @@ QT = core-private script testlib
SOURCES += tst_qscriptv8testsuite.cpp
RESOURCES += qscriptv8testsuite.qrc
include(abstracttestsuite.pri)
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0