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/qtsensors5/qtsensors5.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/qtsensors5') diff --git a/tests/auto/qtsensors5/qtsensors5.pro b/tests/auto/qtsensors5/qtsensors5.pro index 45c2b68e..77bbd4c2 100644 --- a/tests/auto/qtsensors5/qtsensors5.pro +++ b/tests/auto/qtsensors5/qtsensors5.pro @@ -4,3 +4,4 @@ TARGET=tst_qtsensors5 QT = core testlib gui qml SOURCES += tst_qtsensors5.cpp +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -- cgit v1.2.3