summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtsensors5
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/qtsensors5
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/qtsensors5')
-rw-r--r--tests/auto/qtsensors5/qtsensors5.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qtsensors5/qtsensors5.pro b/tests/auto/qtsensors5/qtsensors5.pro
index 45c2b68e..77bbd4c2 100644
--- a/tests/auto/qtsensors5/qtsensors5.pro
+++ b/tests/auto/qtsensors5/qtsensors5.pro
@@ -4,3 +4,4 @@ TARGET=tst_qtsensors5
QT = core testlib gui qml
SOURCES += tst_qtsensors5.cpp
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0