Use KF-standardized Qt logging categories

See https://community.kde.org/Frameworks/Frameworks_Logging_Policy
This commit is contained in:
Friedrich W. H. Kossebau 2020-07-13 03:16:11 +02:00
parent 81aed18cf3
commit 2ce6774718
2 changed files with 4 additions and 2 deletions

View File

@ -86,7 +86,8 @@ kconfig_add_kcfg_files(Plasma_LIB_SRCS data/kconfigxt/libplasma-theme-global.kcf
ecm_qt_declare_logging_category(Plasma_LIB_SRCS
HEADER debug_p.h
IDENTIFIER LOG_PLASMA
CATEGORY_NAME org.kde.plasma
CATEGORY_NAME kf.plasma.core
OLD_CATEGORY_NAMES org.kde.plasma
DESCRIPTION "Plasma Core lib"
EXPORT PLASMA
)

View File

@ -28,7 +28,8 @@ endif()
ecm_qt_declare_logging_category(PlasmaQuick_LIB_SRCS
HEADER debug_p.h
IDENTIFIER LOG_PLASMAQUICK
CATEGORY_NAME org.kde.plasmaquick
CATEGORY_NAME kf.plasma.quick
OLD_CATEGORY_NAMES org.kde.plasmaquick
DESCRIPTION "Plasma Quick lib"
EXPORT PLASMA
)