diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-01 16:45:26 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-02 07:30:40 +0200 |
commit | 626abf6666f5abbcfe4e07ee83daba33ae356710 (patch) | |
tree | 07f92636c3f9ccbdfcaa391e05a0ad0a2ec0bfcc /tests/auto/qsensor/qsensor.pro | |
parent | e262958d8d70a22463953f5e22f38406e491efe2 (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/qsensor/qsensor.pro')
-rw-r--r-- | tests/auto/qsensor/qsensor.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qsensor/qsensor.pro b/tests/auto/qsensor/qsensor.pro index 57b05736..cfc90c92 100644 --- a/tests/auto/qsensor/qsensor.pro +++ b/tests/auto/qsensor/qsensor.pro @@ -25,3 +25,4 @@ SOURCES += \ test_sensorplugin.cpp\ test_backends.cpp +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 |