Set the Qt API level to compatibility mode in all tests. 77/1777/1
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 1 Aug 2012 12:11:56 +0000 (14:11 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 1 Aug 2012 21:33:37 +0000 (23:33 +0200)
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: I43873a55fbaf106efc4fb2955569a643aff19480
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
tests/auto/v8/v8.pro

index 493ea8e..eddbbf6 100644 (file)
@@ -8,3 +8,4 @@ HEADERS += v8test.h
 CONFIG += parallel_test
 
 QT = core v8-private testlib
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0