Disallow deprecated Qt API

We don't use any deprecated Qt API at the moment. Let's keep it that way
This commit is contained in:
Nicolas Fella 2019-08-20 16:02:05 +02:00
parent 607d643d8c
commit 1a32a31a03

View file

@ -51,6 +51,7 @@ else()
find_package(KF5PulseAudioQt) find_package(KF5PulseAudioQt)
endif() endif()
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_ASCII) add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_ASCII)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
endif() endif()
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Quick Network) find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Quick Network)