From f489fb6c7d056514cc916d06ea11bacda37eb062 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 1 Aug 2012 14:11:56 +0200 Subject: [PATCH] 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: I43873a55fbaf106efc4fb2955569a643aff19480 Reviewed-by: Lars Knoll --- tests/auto/v8/v8.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/v8/v8.pro b/tests/auto/v8/v8.pro index 493ea8e..eddbbf6 100644 --- a/tests/auto/v8/v8.pro +++ b/tests/auto/v8/v8.pro @@ -8,3 +8,4 @@ HEADERS += v8test.h CONFIG += parallel_test QT = core v8-private testlib +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -- 2.7.4