summaryrefslogtreecommitdiff
path: root/tests/applications
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-01 15:35:48 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-01 23:33:48 +0200
commite93b218da641d81f69da9f3542c5fb1639e3d0f7 (patch)
tree43452cefa8801977cac14c94a6729e3ee4cc5280 /tests/applications
parent4c7059968fff72300790d9b00e324a154ab3cc1a (diff)
downloadqtlocation-e93b218da641d81f69da9f3542c5fb1639e3d0f7.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: Ie0f96417cf765796e5288769563df7845086546a Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/applications')
-rw-r--r--tests/applications/declarative_map/map3d.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/applications/declarative_map/map3d.pro b/tests/applications/declarative_map/map3d.pro
index 64978b31..79d3e9a0 100644
--- a/tests/applications/declarative_map/map3d.pro
+++ b/tests/applications/declarative_map/map3d.pro
@@ -16,3 +16,4 @@ INSTALLS += target sources
OTHER_FILES += \
map3d.qml
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0