From 8934e35bde9ec67b4b3a93217d73a0554b15d3b2 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 1 Aug 2012 13:48:22 +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: Iab3d9fa844e74b7f8a17dbe1c26f9df6fa8dfadc Reviewed-by: Olivier Goffart --- tests/auto/xmlpatternssdk/xmlpatternssdk.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/xmlpatternssdk') diff --git a/tests/auto/xmlpatternssdk/xmlpatternssdk.pro b/tests/auto/xmlpatternssdk/xmlpatternssdk.pro index 4ede97a..7f908fd 100644 --- a/tests/auto/xmlpatternssdk/xmlpatternssdk.pro +++ b/tests/auto/xmlpatternssdk/xmlpatternssdk.pro @@ -83,3 +83,4 @@ SOURCES = ASTItem.cpp \ XSDTestSuiteHandler.cpp \ XSDTSTestCase.cpp \ XSLTTestSuiteHandler.cpp +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -- cgit v1.2.1