From 8dabc28e4ea6fe7946ee7770ba39410c6d95bc1d Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 1 Aug 2012 14:27:05 +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: I6988c2360e9d88916311374a0c910bfc5b607439 Reviewed-by: Lars Knoll --- tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro | 1 + tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro | 1 + 2 files changed, 2 insertions(+) (limited to 'tests/auto/qml/qqmlbundle') diff --git a/tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro b/tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro index d91cc245d4..2ffa05a007 100644 --- a/tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro +++ b/tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro @@ -3,3 +3,4 @@ CONFIG += plugin SOURCES += plugin.cpp QT = core qml +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro b/tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro index 2197e11d37..1a6d1e3a8f 100644 --- a/tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro +++ b/tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro @@ -13,3 +13,4 @@ CONFIG += parallel_test QT += qml-private testlib gui-private +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -- cgit v1.2.3