summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-01 14:05:30 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-03 11:34:39 +0200
commitd2dfc6f24bedb374f43fb1119f78c3248c5a7550 (patch)
treeaf6f201aeb07d626af5c8896d97754c9d8080304 /tests/auto/declarative/qdeclarativelanguage
parent0b3ce67995a41074ee0768a0362a985f7756aa30 (diff)
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: I9b0267e5fd947cec4b66debfa6c2795008643d18 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage')
-rw-r--r--tests/auto/declarative/qdeclarativelanguage/qdeclarativelanguage.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/qdeclarativelanguage.pro b/tests/auto/declarative/qdeclarativelanguage/qdeclarativelanguage.pro
index b7770340..fc1dd2a3 100644
--- a/tests/auto/declarative/qdeclarativelanguage/qdeclarativelanguage.pro
+++ b/tests/auto/declarative/qdeclarativelanguage/qdeclarativelanguage.pro
@@ -14,3 +14,4 @@ HEADERS += ../shared/testhttpserver.h
SOURCES += ../shared/testhttpserver.cpp
include(../shared/qdeclarativedatatest.pri)
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0