aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlbundle
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-01 14:27:05 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-01 23:33:39 +0200
commit8dabc28e4ea6fe7946ee7770ba39410c6d95bc1d (patch)
treea63554d80d79ab8442586754a51a5b619e7cf7c1 /tests/auto/qml/qqmlbundle
parent5ab6ff214336187807ff909358da36ab7954e9ec (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: I6988c2360e9d88916311374a0c910bfc5b607439 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/qml/qqmlbundle')
-rw-r--r--tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro1
-rw-r--r--tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro b/tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro
index d91cc245d4..2ffa05a007 100644
--- a/tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro
+++ b/tests/auto/qml/qqmlbundle/data/imports/bundletest/plugin1.pro
@@ -3,3 +3,4 @@ CONFIG += plugin
SOURCES += plugin.cpp
QT = core qml
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro b/tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro
index 2197e11d37..1a6d1e3a8f 100644
--- a/tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro
+++ b/tests/auto/qml/qqmlbundle/tst_qqmlbundle.pro
@@ -13,3 +13,4 @@ CONFIG += parallel_test
QT += qml-private testlib gui-private
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0