Commit 67857ad3 authored by David Faure's avatar David Faure
Browse files

Add missing calls to ecm_qt_install_logging_categories

(to make those debug areas visible in kdebugsettings)
parent f78bac87
...@@ -13,7 +13,14 @@ qt5_add_dbus_interface(kcm_kded_SRCS ${KDED_DBUS_INTERFACE} kded_interface) ...@@ -13,7 +13,14 @@ qt5_add_dbus_interface(kcm_kded_SRCS ${KDED_DBUS_INTERFACE} kded_interface)
ecm_qt_declare_logging_category(kcm_kded_SRCS HEADER debug.h ecm_qt_declare_logging_category(kcm_kded_SRCS HEADER debug.h
IDENTIFIER KCM_KDED IDENTIFIER KCM_KDED
CATEGORY_NAME kcm_kded CATEGORY_NAME kcm_kded
DEFAULT_SEVERITY Info) DEFAULT_SEVERITY Info
DESCRIPTION "KCM for kded services"
EXPORT kcm_kded)
ecm_qt_install_logging_categories(
EXPORT kcm_kded
DESTINATION "${KDE_INSTALL_LOGGINGCATEGORIESDIR}"
)
add_library(kcm_kded MODULE ${kcm_kded_SRCS}) add_library(kcm_kded MODULE ${kcm_kded_SRCS})
......
...@@ -16,6 +16,7 @@ endif() ...@@ -16,6 +16,7 @@ endif()
### kded daemon ### ### kded daemon ###
set( kded_keyboard_SRCS set( kded_keyboard_SRCS
${CMAKE_CURRENT_BINARY_DIR}/debug.cpp
keyboard_daemon.cpp keyboard_daemon.cpp
layout_memory.cpp layout_memory.cpp
layout_memory_persister.cpp layout_memory_persister.cpp
...@@ -34,13 +35,6 @@ set( kded_keyboard_SRCS ...@@ -34,13 +35,6 @@ set( kded_keyboard_SRCS
layoutnames.cpp layoutnames.cpp
) )
ecm_qt_declare_logging_category(kded_keyboard_SRCS
HEADER debug.h
IDENTIFIER KCM_KEYBOARD
CATEGORY_NAME org.kde.kcm_keyboard
DEFAULT_SEVERITY Warning)
include_directories(${CMAKE_CURRENT_BINARY_DIR}) include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_library(kded_keyboard MODULE ${kded_keyboard_SRCS}) add_library(kded_keyboard MODULE ${kded_keyboard_SRCS})
set_target_properties(kded_keyboard PROPERTIES OUTPUT_NAME keyboard) set_target_properties(kded_keyboard PROPERTIES OUTPUT_NAME keyboard)
...@@ -103,7 +97,13 @@ ecm_qt_declare_logging_category(kcm_keyboard_PART_SRCS ...@@ -103,7 +97,13 @@ ecm_qt_declare_logging_category(kcm_keyboard_PART_SRCS
HEADER debug.h HEADER debug.h
IDENTIFIER KCM_KEYBOARD IDENTIFIER KCM_KEYBOARD
CATEGORY_NAME org.kde.kcm_keyboard CATEGORY_NAME org.kde.kcm_keyboard
DEFAULT_SEVERITY Warning) DEFAULT_SEVERITY Warning
DESCRIPTION "KCM and KDED for keyboard layouts"
EXPORT kcm_keyboard)
ecm_qt_install_logging_categories(
EXPORT kcm_keyboard
DESTINATION "${KDE_INSTALL_LOGGINGCATEGORIESDIR}"
)
ki18n_wrap_ui(kcm_keyboard_PART_SRCS kcm_keyboard.ui kcm_add_layout_dialog.ui kcmmiscwidget.ui) ki18n_wrap_ui(kcm_keyboard_PART_SRCS kcm_keyboard.ui kcm_add_layout_dialog.ui kcmmiscwidget.ui)
......
...@@ -22,6 +22,14 @@ ecm_qt_declare_logging_category(common_SRCS ...@@ -22,6 +22,14 @@ ecm_qt_declare_logging_category(common_SRCS
kcm_mouse kcm_mouse
DEFAULT_SEVERITY DEFAULT_SEVERITY
Critical Critical
DESCRIPTION
"KCM for mouse input"
EXPORT
kcm_mouse
)
ecm_qt_install_logging_categories(
EXPORT kcm_mouse
DESTINATION "${KDE_INSTALL_LOGGINGCATEGORIESDIR}"
) )
include(backends/x11.cmake) include(backends/x11.cmake)
......
Supports Markdown
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