From d2dfc6f24bedb374f43fb1119f78c3248c5a7550 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 1 Aug 2012 14:05:30 +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: I9b0267e5fd947cec4b66debfa6c2795008643d18 Reviewed-by: Lars Knoll --- tests/auto/declarative/qdeclarativeengine/qdeclarativeengine.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/declarative/qdeclarativeengine') diff --git a/tests/auto/declarative/qdeclarativeengine/qdeclarativeengine.pro b/tests/auto/declarative/qdeclarativeengine/qdeclarativeengine.pro index e1f28025..1e2744c9 100644 --- a/tests/auto/declarative/qdeclarativeengine/qdeclarativeengine.pro +++ b/tests/auto/declarative/qdeclarativeengine/qdeclarativeengine.pro @@ -11,3 +11,4 @@ SOURCES += tst_qdeclarativeengine.cpp DEFINES += SRCDIR=\\\"$$PWD\\\" } +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -- cgit v1.2.3