summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/legacy_sensors/legacy_sensors.pro1
-rw-r--r--tests/auto/qsensor/qsensor.pro1
-rw-r--r--tests/auto/qsensorgestureplugins/qsensorgestureplugins.pro1
-rw-r--r--tests/auto/qsensorgestures/plugins/test1/test1.pro1
-rw-r--r--tests/auto/qsensorgestures/qsensorgestures.pro1
-rw-r--r--tests/auto/qsensorgestures_gestures/qsensorgestures_gestures.pro1
-rw-r--r--tests/auto/qtsensors5/qtsensors5.pro1
-rw-r--r--tests/auto/sensors2qmlapi/sensors2qmlapi.pro1
-rw-r--r--tests/manual/sensor_explorer/sensor_explorer.pro1
9 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/legacy_sensors/legacy_sensors.pro b/tests/auto/legacy_sensors/legacy_sensors.pro
index ef2e869..e96e45d 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
diff --git a/tests/auto/qsensor/qsensor.pro b/tests/auto/qsensor/qsensor.pro
index 57b0573..cfc90c9 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
diff --git a/tests/auto/qsensorgestureplugins/qsensorgestureplugins.pro b/tests/auto/qsensorgestureplugins/qsensorgestureplugins.pro
index a8e75e2..de73fd0 100644
--- a/tests/auto/qsensorgestureplugins/qsensorgestureplugins.pro
+++ b/tests/auto/qsensorgestureplugins/qsensorgestureplugins.pro
@@ -16,3 +16,4 @@ HEADERS += \
SOURCES += \
test_backends.cpp
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/qsensorgestures/plugins/test1/test1.pro b/tests/auto/qsensorgestures/plugins/test1/test1.pro
index bd3e428..17fc6b1 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 e3b152c..b091d57 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
diff --git a/tests/auto/qsensorgestures_gestures/qsensorgestures_gestures.pro b/tests/auto/qsensorgestures_gestures/qsensorgestures_gestures.pro
index f2259d4..f4051d0 100644
--- a/tests/auto/qsensorgestures_gestures/qsensorgestures_gestures.pro
+++ b/tests/auto/qsensorgestures_gestures/qsensorgestures_gestures.pro
@@ -19,3 +19,4 @@ HEADERS += \
mockbackends.h
TESTDATA += mock_data dataset2_mock_data
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/qtsensors5/qtsensors5.pro b/tests/auto/qtsensors5/qtsensors5.pro
index 45c2b68..77bbd4c 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
diff --git a/tests/auto/sensors2qmlapi/sensors2qmlapi.pro b/tests/auto/sensors2qmlapi/sensors2qmlapi.pro
index d10e768..8344710 100644
--- a/tests/auto/sensors2qmlapi/sensors2qmlapi.pro
+++ b/tests/auto/sensors2qmlapi/sensors2qmlapi.pro
@@ -25,3 +25,4 @@ HEADERS += qdeclaccelerometer.h \
qtemplategestureplugin.h \
qtemplaterecognizer.h
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/manual/sensor_explorer/sensor_explorer.pro b/tests/manual/sensor_explorer/sensor_explorer.pro
index fc27305..c8de3f2 100644
--- a/tests/manual/sensor_explorer/sensor_explorer.pro
+++ b/tests/manual/sensor_explorer/sensor_explorer.pro
@@ -14,3 +14,4 @@ SOURCES=\
main.cpp
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0