Use SERVICE_TYPES parameter to kcoreaddons_desktop_to_json()
This commit is contained in:
parent
9d96277a5e
commit
f35e514b7d
@ -19,7 +19,11 @@ set(declarative_appletscript_SRCS
|
|||||||
add_library(plasma_appletscript_declarative MODULE ${declarative_appletscript_SRCS} )
|
add_library(plasma_appletscript_declarative MODULE ${declarative_appletscript_SRCS} )
|
||||||
set_target_properties(plasma_appletscript_declarative PROPERTIES PREFIX "")
|
set_target_properties(plasma_appletscript_declarative PROPERTIES PREFIX "")
|
||||||
|
|
||||||
kcoreaddons_desktop_to_json(plasma_appletscript_declarative data/plasma-scriptengine-applet-declarative.desktop)
|
kcoreaddons_desktop_to_json(
|
||||||
|
plasma_appletscript_declarative data/plasma-scriptengine-applet-declarative.desktop
|
||||||
|
SERVICE_TYPES ${CMAKE_SOURCE_DIR}/src/plasma/data/servicetypes/plasma-scriptengine.desktop
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
target_link_libraries(plasma_appletscript_declarative
|
target_link_libraries(plasma_appletscript_declarative
|
||||||
Qt5::Quick
|
Qt5::Quick
|
||||||
|
@ -6,7 +6,7 @@ set(%{APPNAMELC}_SRCS
|
|||||||
|
|
||||||
add_library(plasma_applet_%{APPNAMELC} MODULE ${%{APPNAMELC}_SRCS})
|
add_library(plasma_applet_%{APPNAMELC} MODULE ${%{APPNAMELC}_SRCS})
|
||||||
|
|
||||||
kcoreaddons_desktop_to_json(plasma_applet_%{APPNAMELC} package/metadata.desktop)
|
kcoreaddons_desktop_to_json(plasma_applet_%{APPNAMELC} package/metadata.desktop SERVICE_TYPES plasma-applet.desktop)
|
||||||
|
|
||||||
target_link_libraries(plasma_applet_%{APPNAMELC}
|
target_link_libraries(plasma_applet_%{APPNAMELC}
|
||||||
Qt5::Gui
|
Qt5::Gui
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
add_library(plasma_engine_testengine MODULE testengine.cpp)
|
add_library(plasma_engine_testengine MODULE testengine.cpp)
|
||||||
|
|
||||||
kcoreaddons_desktop_to_json(plasma_engine_testengine plasma-dataengine-testengine.desktop)
|
kcoreaddons_desktop_to_json(
|
||||||
|
plasma_engine_testengine plasma-dataengine-testengine.desktop
|
||||||
|
SERVICE_TYPES ${CMAKE_SOURCE_DIR}/src/plasma/data/servicetypes/plasma-dataengine.desktop
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
target_link_libraries(plasma_engine_testengine
|
target_link_libraries(plasma_engine_testengine
|
||||||
|
Loading…
Reference in New Issue
Block a user