From 626abf6666f5abbcfe4e07ee83daba33ae356710 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 1 Aug 2012 16:45:26 +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: Ie47ddce66e9738b43826e6472811ae76a88472d2 Reviewed-by: Alex --- tests/auto/legacy_sensors/legacy_sensors.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/legacy_sensors') diff --git a/tests/auto/legacy_sensors/legacy_sensors.pro b/tests/auto/legacy_sensors/legacy_sensors.pro index ef2e869b..e96e45d0 100644 --- a/tests/auto/legacy_sensors/legacy_sensors.pro +++ b/tests/auto/legacy_sensors/legacy_sensors.pro @@ -4,3 +4,4 @@ TARGET=tst_legacy_sensors QT = core testlib gui qml sensors SOURCES += tst_legacy_sensors.cpp +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -- cgit v1.2.3