diff options
| author | Laurent Montel <[email protected]> | 2021-01-23 09:23:41 +0100 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2021-01-23 09:23:41 +0100 |
| commit | 8236e95c765b27edfb7d3ae17635518a0120e029 (patch) | |
| tree | 9c6bf8954c4cffb2fd8aa0ba3432d9a83de515a5 | |
| parent | aac6a5245f48194828283fe5ed81a212ede6bc3c (diff) | |
Autogenerate categories file
| -rw-r--r-- | CMakeLists.txt | 7 | ||||
| -rw-r--r-- | dolphin.categories | 1 | ||||
| -rw-r--r-- | src/CMakeLists.txt | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dc682e2fb..cb6397f76 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 8faeb2064..000000000 --- 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 26e02cfb5..fd3e771b7 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 |
