Use embedded JSON metadata for binary plugins & custom for D-Bus plugins

Authored by kossebau on May 25 2020, 8:38 PM.

Description

Use embedded JSON metadata for binary plugins & custom for D-Bus plugins

This adds support for

  • finding binary KRunner plugins in an own subdir (KPluginLoader paths + "/kf5/krunner") and using JSON metadata embedded in the plugins
  • finding desktop-file based metadata about D-Bus plugins in an own subdir (QStandardPaths::GenericDataLocation + "/krunner/dbusplugins)

and makes this the new preferred plugin system.

Plugins and their metadata from the old KService-based system are still
supported for backward-compatibility, but is marked as deprecated.

Details