summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-01 14:11:56 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-01 23:33:37 +0200
commitf489fb6c7d056514cc916d06ea11bacda37eb062 (patch)
tree28b836a9a9fabac6266a92e6465c199b8783f9fd
parent1cc6b7a92b326842d2dcd57b55303077d1f3efc3 (diff)
downloadqtjsbackend-f489fb6c7d056514cc916d06ea11bacda37eb062.tar.gz
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: I43873a55fbaf106efc4fb2955569a643aff19480 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r--tests/auto/v8/v8.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/v8/v8.pro b/tests/auto/v8/v8.pro
index 493ea8e..eddbbf6 100644
--- a/tests/auto/v8/v8.pro
+++ b/tests/auto/v8/v8.pro
@@ -8,3 +8,4 @@ HEADERS += v8test.h
CONFIG += parallel_test
QT = core v8-private testlib
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0