diff --git a/CMakeLists.txt b/CMakeLists.txt index dc682e2fbf..cb6397f76a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -178,7 +178,10 @@ ecm_generate_dbus_service_file( ecm_install_configured_files(INPUT plasma-dolphin.service.in DESTINATION ${SYSTEMD_USER_UNIT_INSTALL_DIR}) -install(FILES dolphin.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}) - +ecm_qt_install_logging_categories( + EXPORT DOLPHIN + FILE dolphin.categories + DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} + ) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/dolphin.categories b/dolphin.categories deleted file mode 100644 index 8faeb2064a..0000000000 --- a/dolphin.categories +++ /dev/null @@ -1 +0,0 @@ -org.kde.dolphin dolphin IDENTIFIER [DolphinDebug] diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 26e02cfb5c..fd3e771b7a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -117,7 +117,8 @@ set(dolphinprivate_LIB_SRCS dolphinnewfilemenu.cpp ) -ecm_qt_declare_logging_category(dolphinprivate_LIB_SRCS HEADER dolphindebug.h IDENTIFIER DolphinDebug CATEGORY_NAME org.kde.dolphin) +ecm_qt_declare_logging_category(dolphinprivate_LIB_SRCS HEADER dolphindebug.h IDENTIFIER DolphinDebug CATEGORY_NAME org.kde.dolphin + DESCRIPTION "dolphin" EXPORT DOLPHIN) if(HAVE_BALOO) set(dolphinprivate_LIB_SRCS