Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Embed metadata json also with kparts plugin

parent b411d29f
......@@ -56,6 +56,7 @@ set(videoplayer_part_SRCS
partToolBar.cpp )
add_library(dragonpart MODULE ${videoplayer_part_SRCS})
kcoreaddons_desktop_to_json(dragonpart ${CMAKE_SOURCE_DIR}/misc/dragonplayer_part.desktop)
target_link_libraries(dragonpart
Qt5::Core
......
......@@ -41,7 +41,8 @@
#include <QVBoxLayout>
#include <QWidgetAction>
K_PLUGIN_FACTORY(CodeineFactory, registerPlugin<Dragon::Part>();)
K_PLUGIN_FACTORY_WITH_JSON(CodeineFactory, "dragonplayer_part.json",
registerPlugin<Dragon::Part>();)
namespace Dragon
{
......
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