From 5188ded26930645e4856c59561225040033e3187 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 1 Aug 2012 13:56:22 +0200 Subject: 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 --- tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/qscriptcontextinfo/qscriptcontextinfo.pro') 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 -- cgit v1.2.1