summaryrefslogtreecommitdiffstats
path: root/tests/auto/legacy_sensors/legacy_sensors.pro
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-01 16:45:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-02 07:30:40 +0200
commit626abf6666f5abbcfe4e07ee83daba33ae356710 (patch)
tree07f92636c3f9ccbdfcaa391e05a0ad0a2ec0bfcc /tests/auto/legacy_sensors/legacy_sensors.pro
parente262958d8d70a22463953f5e22f38406e491efe2 (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: Ie47ddce66e9738b43826e6472811ae76a88472d2 Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'tests/auto/legacy_sensors/legacy_sensors.pro')
-rw-r--r--tests/auto/legacy_sensors/legacy_sensors.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/legacy_sensors/legacy_sensors.pro b/tests/auto/legacy_sensors/legacy_sensors.pro
index ef2e869b..e96e45d0 100644
--- a/tests/auto/legacy_sensors/legacy_sensors.pro
+++ b/tests/auto/legacy_sensors/legacy_sensors.pro
@@ -4,3 +4,4 @@ TARGET=tst_legacy_sensors
QT = core testlib gui qml sensors
SOURCES += tst_legacy_sensors.cpp
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0