Commit 2006059b authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Install a logging categories file for kdebugsettings

parent 6a936e2c
......@@ -38,7 +38,15 @@ set( ffmpegthumbs_PART_SRCS
ffmpegthumbnailer/videothumbnailer.cpp
)
ecm_qt_declare_logging_category(ffmpegthumbs_PART_SRCS HEADER ffmpegthumbs_debug.h IDENTIFIER ffmpegthumbs_LOG CATEGORY_NAME org.kde.kdemultimedia.ffmpegthumbs DEFAULT_SEVERITY Critical)
ecm_qt_declare_logging_category(
ffmpegthumbs_PART_SRCS
HEADER ffmpegthumbs_debug.h
IDENTIFIER ffmpegthumbs_LOG
CATEGORY_NAME org.kde.kdemultimedia.ffmpegthumbs
DEFAULT_SEVERITY Critical
EXPORT ffmpegthumbs
DESCRIPTION "FFmpeg video thumbnailer"
)
kconfig_add_kcfg_files(ffmpegthumbs_PART_SRCS ffmpegthumbnailersettings5.kcfgc)
add_library(ffmpegthumbs MODULE ${ffmpegthumbs_PART_SRCS})
......@@ -48,6 +56,11 @@ target_link_libraries(ffmpegthumbs Qt5::Core Qt5::Gui KF5::KIOWidgets KF5::KIOCo
install(FILES ffmpegthumbnailersettings5.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(TARGETS ffmpegthumbs DESTINATION ${PLUGIN_INSTALL_DIR})
ecm_qt_install_logging_categories(
EXPORT ffmpegthumbs
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
)
########### install files ###############
install(FILES ffmpegthumbs.desktop DESTINATION ${SERVICES_INSTALL_DIR})
......
Markdown is supported
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