diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2022-08-16 16:47:18 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2022-08-22 12:59:53 +0200 |
commit | 241b27ff88ef6465cfc9bdf85bee2a249892997f (patch) | |
tree | 9438d0c285eba2e17436c005cc83e8050595d78b /examples | |
parent | 9f439668c5206bf11bbe759e565bbec7f10211c2 (diff) |
Use QT_DISABLE_DEPRECATED_UP_TO instead of QT_DISABLE_DEPRECATED_BEFORE
Task-number: QTBUG-104944
Change-Id: I98c2a652abb366354710b57e2fea7eb22235c66f
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples')
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/mqtt/consolepubsub/qtmqtt_pub.pro b/examples/mqtt/consolepubsub/qtmqtt_pub.pro index bfa84b7..4aa7eb3 100644 --- a/examples/mqtt/consolepubsub/qtmqtt_pub.pro +++ b/examples/mqtt/consolepubsub/qtmqtt_pub.pro @@ -13,7 +13,7 @@ DEFINES += QT_DEPRECATED_WARNINGS # You can also make your code fail to compile if it uses 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_pub.cpp diff --git a/examples/mqtt/consolepubsub/qtmqtt_sub.pro b/examples/mqtt/consolepubsub/qtmqtt_sub.pro index c022650..f3820f0 100644 --- a/examples/mqtt/consolepubsub/qtmqtt_sub.pro +++ b/examples/mqtt/consolepubsub/qtmqtt_sub.pro @@ -13,7 +13,7 @@ DEFINES += QT_DEPRECATED_WARNINGS # You can also make your code fail to compile if it uses 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_sub.cpp diff --git a/examples/mqtt/quickpublication/quickpublication.pro b/examples/mqtt/quickpublication/quickpublication.pro index 20bdcc7..2c38847 100644 --- a/examples/mqtt/quickpublication/quickpublication.pro +++ b/examples/mqtt/quickpublication/quickpublication.pro @@ -26,7 +26,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 target.path = $$[QT_INSTALL_EXAMPLES]/mqtt/quickpublication INSTALLS += target diff --git a/examples/mqtt/quicksubscription/quicksubscription.pro b/examples/mqtt/quicksubscription/quicksubscription.pro index 71324ac..474fb39 100644 --- a/examples/mqtt/quicksubscription/quicksubscription.pro +++ b/examples/mqtt/quicksubscription/quicksubscription.pro @@ -26,7 +26,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 target.path = $$[QT_INSTALL_EXAMPLES]/mqtt/quicksubscription INSTALLS += target diff --git a/examples/mqtt/simpleclient/simpleclient.pro b/examples/mqtt/simpleclient/simpleclient.pro index 7718b03..b126e4c 100644 --- a/examples/mqtt/simpleclient/simpleclient.pro +++ b/examples/mqtt/simpleclient/simpleclient.pro @@ -14,7 +14,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/examples/mqtt/subscriptions/subscriptions.pro b/examples/mqtt/subscriptions/subscriptions.pro index cd24d4b..3b7edb7 100644 --- a/examples/mqtt/subscriptions/subscriptions.pro +++ b/examples/mqtt/subscriptions/subscriptions.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/examples/mqtt/websocketsubscription/websocketsubscription.pro b/examples/mqtt/websocketsubscription/websocketsubscription.pro index 0e9af83..0749eb8 100644 --- a/examples/mqtt/websocketsubscription/websocketsubscription.pro +++ b/examples/mqtt/websocketsubscription/websocketsubscription.pro @@ -22,7 +22,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 target.path = $$[QT_INSTALL_EXAMPLES]/mqtt/websocketsubscription INSTALLS += target |