summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-08-16 16:46:25 +0200
committerIvan Solovev <ivan.solovev@qt.io>2022-08-22 12:59:49 +0200
commit3243132642b09e36a657ed2444015e471734f585 (patch)
treed6386dee21a5ac56811f44a9128ea6d6cbbb5ec6 /tests
parenta660d53931770ca0056aafca28ef2e6b5fe1d96a (diff)
Use QT_DISABLE_DEPRECATED_UP_TO instead of QT_DISABLE_DEPRECATED_BEFORE
Task-number: QTBUG-104944 Change-Id: I5ca24728f749f35672b5da7c7e3247afb90cec96 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/featcheck/featcheck.pro2
-rw-r--r--tests/manual/testApp/testApp.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/featcheck/featcheck.pro b/tests/manual/featcheck/featcheck.pro
index 2a35170..12d8677 100644
--- a/tests/manual/featcheck/featcheck.pro
+++ b/tests/manual/featcheck/featcheck.pro
@@ -11,7 +11,7 @@ DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
-#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
+#DEFINES += QT_DISABLE_DEPRECATED_UP_TO=0x060000 # disables all APIs deprecated in Qt 6.0.0 and earlier
SOURCES += \
main.cpp
diff --git a/tests/manual/testApp/testApp.pro b/tests/manual/testApp/testApp.pro
index 621f618..e6c7eae 100644
--- a/tests/manual/testApp/testApp.pro
+++ b/tests/manual/testApp/testApp.pro
@@ -10,7 +10,7 @@ DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
-#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
+#DEFINES += QT_DISABLE_DEPRECATED_UP_TO=0x060000 # disables all APIs deprecated in Qt 6.0.0 and earlier
SOURCES += \
main.cpp \