Review Request 119972: Enable loading plugins using KPluginLoader::findPlugins()
Milian Wolff
mail at milianw.de
Thu Aug 28 12:10:34 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119972/#review65424
-----------------------------------------------------------
yay so nice - I'd love to see this happen and us not requiring kbuildsycoca anymore!
shell/plugincontroller.cpp
<https://git.reviewboard.kde.org/r/119972/#comment45707>
this should be the only search method then, no? i.e. the block below could/should be removed?
- Milian Wolff
On Aug. 28, 2014, 11:41 a.m., Alexander Richardson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119972/
> -----------------------------------------------------------
>
> (Updated Aug. 28, 2014, 11:41 a.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdevplatform
>
>
> Description
> -------
>
> This iterates over all plugins in the kdevplatform/$KDEVPLATFORM_VERSION
> subdirectories of QCoreApplication::libraryPaths and will then include
> all plugins that contain "KDevelop/Plugin" in their service types.
>
> This meta data is now embedded directly in the shared libraries, there
> is no more need for kbuildsycoca and .desktop files.
>
> This means we now require KCoreAddons 5.2 and KService 5.2
>
>
> For testing I converted KDevWelcomepage to the new JSON metadata and it
> loads fine. If this approach is deemed correct I will convert the other plugins.
>
>
> It requires https://git.reviewboard.kde.org/r/119970/ to get committed first.
>
>
> Diffs
> -----
>
> plugins/welcomepage/CMakeLists.txt 34ee3302fadd8a85a66dd2f5b776f0aa09468afb
> plugins/welcomepage/kdevwelcomepageplugin.desktop.cmake
> plugins/welcomepage/welcomepageplugin.cpp d24317e7767600d2774972ace8a4f1f708c565d1
> shell/plugincontroller.cpp 1acb54b5cd6aad61abbb515bb7b4a6aa536c7d22
>
> Diff: https://git.reviewboard.kde.org/r/119972/diff/
>
>
> Testing
> -------
>
> Welcomepage loads fine when opening kdevelop. It new finds 1 new style plugin and 43 old style ones instead of 44 oldstyle ones
>
> KDEVELOP_PLUGIN_VERSION should probably get incremented once this (and the conversion of plugins to JSON) lands so that old remaining .desktop files are not found.
>
>
> Thanks,
>
> Alexander Richardson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140828/c379a7c3/attachment.html>
More information about the KDevelop-devel
mailing list