summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativexmlhttprequest
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/qdeclarativexmlhttprequest
parent0b3ce67995a41074ee0768a0362a985f7756aa30 (diff)
downloadqtquick1-d2dfc6f24bedb374f43fb1119f78c3248c5a7550.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: I9b0267e5fd947cec4b66debfa6c2795008643d18 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest')
-rw-r--r--tests/auto/declarative/qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro b/tests/auto/declarative/qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro
index 3b40a5d9..27f6542e 100644
--- a/tests/auto/declarative/qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro
+++ b/tests/auto/declarative/qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro
@@ -14,3 +14,4 @@ SOURCES += tst_qdeclarativexmlhttprequest.cpp \
include(../shared/qdeclarativedatatest.pri)
win32:CONFIG+=insignificant_test # QTBUG-26703
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0