Remove unnecessary or non-existing Qt flags.

This commit is contained in:
Andrius Štikonas 2022-01-21 00:29:51 +00:00
parent d795c3d9f8
commit 87eb4cdadd
1 changed files with 1 additions and 6 deletions

View File

@ -61,12 +61,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
find_package(PolkitQt${QT_MAJOR_VERSION}-1 REQUIRED)
# use sane compile flags
add_definitions(
-DQT_NO_CAST_TO_BYTEARRAY
-DQT_USE_FAST_OPERATOR_PLUS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00
)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
find_package(KPMcore ${KPMCORE_MIN_VERSION} REQUIRED)