Commit b6b51ce3 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Fix build with Qt 5.15

Summary: libaccounts-qt uses QMap::unite which has been deprecated since Qt 5.15.

Differential Revision: https://phabricator.kde.org/D28047
parent a1de56e4
...@@ -35,10 +35,6 @@ set_package_properties(SignOnQt5 PROPERTIES DESCRIPTION "D-Bus service which per ...@@ -35,10 +35,6 @@ set_package_properties(SignOnQt5 PROPERTIES DESCRIPTION "D-Bus service which per
add_definitions (-DTRANSLATION_DOMAIN=\"kaccounts-integration\" -DQT_NO_KEYWORDS -DQT_NO_FOREACH) add_definitions (-DTRANSLATION_DOMAIN=\"kaccounts-integration\" -DQT_NO_KEYWORDS -DQT_NO_FOREACH)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git" AND AccountsQt5_VERSION VERSION_GREATER 1.15)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
include(KDEInstallDirs) include(KDEInstallDirs)
include(KDECMakeSettings) include(KDECMakeSettings)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment