From 31fe7c0d37ba534f474083fe2234b63c9ea73e14 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Mon, 6 Apr 2026 13:39:00 +0200 Subject: [PATCH] Install logging categories --- CMakeLists.txt | 6 ++++++ components/waydroidintegrationplugin/CMakeLists.txt | 1 + kded/autodetectapn/CMakeLists.txt | 1 + quicksettings/flashlight/kauth/CMakeLists.txt | 3 ++- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 521d4517..883d9bfc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,3 +170,9 @@ if (INSTALL_SYSTEMD_SERVICE) DESTINATION ${KDE_INSTALL_SYSTEMDUNITDIR}/system ) endif() + +ecm_qt_install_logging_categories( + EXPORT PLASMA_MOBILE + FILE plasmamobile.categories + DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} +) diff --git a/components/waydroidintegrationplugin/CMakeLists.txt b/components/waydroidintegrationplugin/CMakeLists.txt index adffd718..513b8edd 100644 --- a/components/waydroidintegrationplugin/CMakeLists.txt +++ b/components/waydroidintegrationplugin/CMakeLists.txt @@ -65,6 +65,7 @@ ecm_qt_declare_logging_category(waydroidintegrationplugin DEFAULT_SEVERITY Warning CATEGORY_NAME org.kde.plasma.private.mobileshell.waydroidintegrationplugin DESCRIPTION "Plugin to add Waydroid Integration on Plasma" + EXPORT PLASMA_MOBILE ) add_subdirectory(kauth) diff --git a/kded/autodetectapn/CMakeLists.txt b/kded/autodetectapn/CMakeLists.txt index c49bd8bd..9f654d1c 100644 --- a/kded/autodetectapn/CMakeLists.txt +++ b/kded/autodetectapn/CMakeLists.txt @@ -26,4 +26,5 @@ ecm_qt_declare_logging_category(kded_plasma_mobile_autodetect_apn IDENTIFIER AUTODETECTAPN_LOG CATEGORY_NAME org.kde.plasma.autodetectapn DESCRIPTION "Plasma Mobile Autodetect APNs" + EXPORT PLASMA_MOBILE ) diff --git a/quicksettings/flashlight/kauth/CMakeLists.txt b/quicksettings/flashlight/kauth/CMakeLists.txt index ac4a7cd2..ffc24003 100644 --- a/quicksettings/flashlight/kauth/CMakeLists.txt +++ b/quicksettings/flashlight/kauth/CMakeLists.txt @@ -24,4 +24,5 @@ ecm_qt_declare_logging_category(flashlighthelper DEFAULT_SEVERITY Warning CATEGORY_NAME org.kde.plasma.mobileshell.flashlighthelper DESCRIPTION "Helper for Flashlight for some actions need root access" -) \ No newline at end of file + EXPORT PLASMA_MOBILE +)