So I’m trying to port my app to new KF5 (and eventually KF6), but I ran into a problem with plug-ins. I’ve been using KPluginInfo::fromServices and KServiceTypeTrader::self()->query to locate plugins and KPluginLoader to load them, but apparently most of that is deprecated since 5.90 and plugins are not included in the service trader database at all now, as far as I can tell.
Also, I’m installing plugins into KDE_INSTALL_PLUGINDIR and the associated .desktop file to KDE_INSTALL_KSERVICES5DIR, but it looks like the new-style methods want a per-app directory and it’s unclear whether the .desktop files should exist at all.
I can find some progress discussions and API docs, but nothing that would provide any kind of a high-level overview on how to install and load plugins using the new approach. Is there any documentation / design doc / anything like that out there?