[Kst] kst2 install
D. V. Wiebe
dvw at ketiltrout.net
Wed May 27 23:38:54 CEST 2009
On Wed, May 27, 2009 at 04:14:42PM -0400, Matthew D Truch wrote:
> > The code for DataObject and DataSource is very similar. Here is the how
> > it determines where to look from datasource.cpp:124
> >
> > QStringList pluginPaths;
> > pluginPaths << QLibraryInfo::location(QLibraryInfo::PluginsPath);
> > pluginPaths << QString(qApp->applicationDirPath()).replace("bin",
> > "plugin");
> >
> > QPluginLoader is then used to test each file in the list.
>
> Does this mean that if I put the binary in /usr/bin/kst and the
> libraries in /usr/lib/lib* that the plugins have to be in /usr/plugin/?
> That's kind of a weird place to put files specific to an application,
> isn't it?
My understanding of the FHS (and the GNU system layout, if that's
still relevant) is that all shared objects, including dlopen'd
ones, should live under /usr/lib. Just looking at my own /usr/lib
here would seem to indicate that /usr/lib/{package_name}/ is a popular
choice, so maybe a solution would be to replace "bin" with "lib/kst"?
Or even "lib/kst/plugins"?
Cheers,
-dvw
--
Don Wiebe dvw at physics.ubc.ca
Department of Physics and Astronomy
University of British Columbia
6224 Agricultural Road Tele: +1-604-822-2585
University Endowment Lands, BC
Canada V6T 1Z1 http://ketiltrout.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20090527/e23a740d/attachment.sig
More information about the Kst
mailing list