From e93b218da641d81f69da9f3542c5fb1639e3d0f7 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 1 Aug 2012 15:35:48 +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: Ie0f96417cf765796e5288769563df7845086546a Reviewed-by: Lars Knoll --- tests/auto/qplacematchrequest/qplacematchrequest.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/qplacematchrequest') diff --git a/tests/auto/qplacematchrequest/qplacematchrequest.pro b/tests/auto/qplacematchrequest/qplacematchrequest.pro index 558cd2ef..a3ff6f0f 100644 --- a/tests/auto/qplacematchrequest/qplacematchrequest.pro +++ b/tests/auto/qplacematchrequest/qplacematchrequest.pro @@ -4,3 +4,4 @@ TARGET = tst_qplacematchrequest SOURCES += tst_qplacematchrequest.cpp QT += location testlib +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -- cgit v1.2.1