summaryrefslogtreecommitdiff
path: root/tests/auto/qplacematchrequest
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/auto/qplacematchrequest
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/auto/qplacematchrequest')
-rw-r--r--tests/auto/qplacematchrequest/qplacematchrequest.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qplacematchrequest/qplacematchrequest.pro b/tests/auto/qplacematchrequest/qplacematchrequest.pro
index 558cd2ef..a3ff6f0f 100644
--- a/tests/auto/qplacematchrequest/qplacematchrequest.pro
+++ b/tests/auto/qplacematchrequest/qplacematchrequest.pro
@@ -4,3 +4,4 @@ TARGET = tst_qplacematchrequest
SOURCES += tst_qplacematchrequest.cpp
QT += location testlib
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0