Pass in JSON parameter in kcoreaddons_add_plugin function call
This will make sure that the plugin gets rebuild when the JSON file changes. The kcoreaddons_desktop_to_json method call would do the same with the generated JSON file.
Please register or sign in to comment