Commit 2b26ce0d authored by Julius Künzel's avatar Julius Künzel 💬
Browse files

Add Qt Designer plugin including TimecodeDisplay

parent 4360d6fc
......@@ -165,6 +165,8 @@ endif()
option(BUILD_QCH "Build source code documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF)
add_feature_info(QCH ${BUILD_QCH} "Source code documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)")
option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON)
set(FFMPEG_SUFFIX "" CACHE STRING "FFmpeg custom suffix")
configure_file(config-kdenlive.h.cmake config-kdenlive.h @ONLY)
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
......
......@@ -10,3 +10,22 @@ set(kdenlive_SRCS
widgets/timecodedisplay.cpp
PARENT_SCOPE
)
include(ECMAddQtDesignerPlugin)
if (BUILD_DESIGNERPLUGIN)
ecm_qtdesignerplugin_widget(TimecodeDisplay
TOOLTIP "A custom QSpinBox widget to enter timecodes (Kdenlive)"
GROUP "Kdenlive Widgets"
)
ecm_add_qtdesignerplugin(kdenlivewidgets
NAME KdenliveWidgets
WIDGETS
TimecodeDisplay
LINK_LIBRARIES
kdenliveLib
INSTALL_DESTINATION "${KDE_INSTALL_QTPLUGINDIR}/designer"
COMPONENT Devel
)
endif()
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