DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 for Snap package

see :
https://snapcraft.io/qelectrotech/builds/1126332
This commit is contained in:
Laurent Trinques
2020-09-26 22:19:40 +02:00
parent f77255c762
commit ea5ba0ecc8

View File

@@ -79,7 +79,7 @@ DEFINES += GIT_COMMIT_SHA="\\\"$(shell git -C \""$$_PRO_FILE_PWD_"\" rev-parse -
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
# You can make your code warn on compile time for the TODO's
# In order to do so, uncomment the following line.