* Use metadata as json * set Q_PLUGIN_METADATA and Q_INTERFACES * port away from kde4_add_plugin Only tested with effects, scripts might need further adjustements. REVIEW: 116862remotes/origin/Plasma/5.0
parent
c8b4f1e9e2
commit
0d07738ca9
3 changed files with 12 additions and 4 deletions
@ -1,10 +1,9 @@ |
||||
set(kcm_kwin4_genericscripted_SRCS genericscriptedconfig.cpp) |
||||
kde4_add_plugin( kcm_kwin4_genericscripted ${kcm_kwin4_genericscripted_SRCS} ) |
||||
add_library(kcm_kwin4_genericscripted MODULE ${kcm_kwin4_genericscripted_SRCS}) |
||||
target_link_libraries( kcm_kwin4_genericscripted |
||||
KF5::ConfigWidgets #KCModule |
||||
KF5::I18n |
||||
KF5::Service |
||||
KF5::Plasma |
||||
Qt5::DBus |
||||
Qt5::UiTools ) |
||||
install( TARGETS kcm_kwin4_genericscripted DESTINATION ${PLUGIN_INSTALL_DIR} ) |
||||
install( TARGETS kcm_kwin4_genericscripted DESTINATION ${PLUGIN_INSTALL_DIR}/kwin/effects/configs ) |
||||
|
||||
@ -0,0 +1,7 @@ |
||||
{ |
||||
"Type": "Service", |
||||
"X-KDE-Library": "kcm_kwin4_genericscripted", |
||||
"X-KDE-ServiceTypes": [ |
||||
"KCModule" |
||||
] |
||||
} |
||||
Loading…
Reference in new issue