diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-01 15:35:48 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 23:33:48 +0200 |
commit | e93b218da641d81f69da9f3542c5fb1639e3d0f7 (patch) | |
tree | 43452cefa8801977cac14c94a6729e3ee4cc5280 /tests/auto/qplacemanager | |
parent | 4c7059968fff72300790d9b00e324a154ab3cc1a (diff) | |
download | qtlocation-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/qplacemanager')
-rw-r--r-- | tests/auto/qplacemanager/qplacemanager.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qplacemanager/qplacemanager.pro b/tests/auto/qplacemanager/qplacemanager.pro index 76c898c4..2c632a7f 100644 --- a/tests/auto/qplacemanager/qplacemanager.pro +++ b/tests/auto/qplacemanager/qplacemanager.pro @@ -5,3 +5,4 @@ TARGET = tst_qplacemanager SOURCES += tst_qplacemanager.cpp QT += location testlib +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 |