From 8e49af7ef56f9b58e5a51c80b40fe674ec432b87 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 1 Aug 2012 16:35:23 +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: I9589f57998af237f2e89c7799789dae5a13ef634 Reviewed-by: Lars Knoll --- tests/auto/unit/qvideoframe/qvideoframe.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/unit/qvideoframe/qvideoframe.pro') diff --git a/tests/auto/unit/qvideoframe/qvideoframe.pro b/tests/auto/unit/qvideoframe/qvideoframe.pro index cfd84a2db..7df5b05df 100644 --- a/tests/auto/unit/qvideoframe/qvideoframe.pro +++ b/tests/auto/unit/qvideoframe/qvideoframe.pro @@ -6,3 +6,4 @@ CONFIG += no_private_qt_headers_warning SOURCES += tst_qvideoframe.cpp +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -- cgit v1.2.3