install paths

David Faure faure at kde.org
Tue Aug 6 08:47:53 UTC 2013


On Monday 05 August 2013 18:29:19 Aurélien Gâteau wrote:
> We inherit the "plugins" dir from Qt itself. Qt installs image formats
> plugins  in LIBDIR/plugins/imageformats, styles plugins in
> LIBDIR/plugins/styles and so on, so it makes sense to keep this
> LIBDIR/plugins/CATEGORY structure IMO.

Yes.

I agree that CATEGORY could be sonnet_clients but the "kf5" reduces the risks 
of conflicts with Qt and other Qt-based frameworks. In addition we had "one 
plugin dir" before, so the code expects that in many places, e.g. 
kservice/src/plugin/kpluginloader.cpp line 126:  
    QString libfile = path + QLatin1String("/kf5/") + libname;

We also have a number of plugins which don't really fit into a category 
containing N plugins. E.g. ktranscript.so, FrameworkIntegrationPlugin.so.
Those are really "one of a kind", and are found by name. Installing them under 
a kf5 subdir makes sense, to keep them out of the way of other things.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list