summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsensorgestures
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/qsensorgestures
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/qsensorgestures')
-rw-r--r--tests/auto/qsensorgestures/plugins/test1/test1.pro1
-rw-r--r--tests/auto/qsensorgestures/qsensorgestures.pro1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qsensorgestures/plugins/test1/test1.pro b/tests/auto/qsensorgestures/plugins/test1/test1.pro
index bd3e428e..17fc6b19 100644
--- a/tests/auto/qsensorgestures/plugins/test1/test1.pro
+++ b/tests/auto/qsensorgestures/plugins/test1/test1.pro
@@ -16,3 +16,4 @@ SOURCES += qtestsensorgestureplugindup.cpp \
target.path += $$[QT_INSTALL_PLUGINS]/sensorgestures
INSTALLS += target
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/qsensorgestures/qsensorgestures.pro b/tests/auto/qsensorgestures/qsensorgestures.pro
index e3b152c7..b091d57d 100644
--- a/tests/auto/qsensorgestures/qsensorgestures.pro
+++ b/tests/auto/qsensorgestures/qsensorgestures.pro
@@ -32,3 +32,4 @@ SOURCES += \
plugins/test/qtestrecognizer.cpp \
plugins/test/qtest2recognizer.cpp
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0