i.e. read the version number from the JSON, not from a magic symbol in the .so file.
This also means porting away from K_EXPORT_PLUGIN_VERSION (to set the version).
i.e. read the version number from the JSON, not from a magic symbol in the .so file.
This also means porting away from K_EXPORT_PLUGIN_VERSION (to set the version).
Status | Assigned | Task | ||
---|---|---|---|---|
Open | None | T13952 KPluginLoader | ||
Open | alex | T14302 Port from KPluginLoader::pluginVersion to KPluginMetaData::version |
After filtering out the unrelated results from lxr, I see only these:
frameworks/krunner/src/runnermanager.cpp
frameworks/plasma-framework/src/plasma/pluginloader.cpp
kde/workspace/kwin/src/effectloader.cpp
kde/workspace/kwin/src/pluginmanager.cpp
During the KF6 weekly we decided that K_EXPORT_PLUGIN_VERSION should be deprecated. For the other versioning checks the plugins should put the info in the JSON metadata or just use a separate namespace.
https://invent.kde.org/frameworks/krunner/-/commit/5e9a6a95b0e1400573185ebb34385393cdb74339
https://invent.kde.org/plasma/kwin/-/commit/9c689d7ddb3cff91ab20894492fd10cdd9c8fdb7
https://invent.kde.org/system/dolphin/-/commit/b6ec4b1c9e0c52ec369db513a6c539d24d8e2275
https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/268
https://invent.kde.org/pim/kontactinterface/-/commit/f10a1c524cb1172bac130e17dae4861d44c80be5
And the official deprecation: https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/105