QT_PLUGIN_PATH (Re: Install kimgio plugins in the Qt image format plugins dir)

Thiago Macieira thiago at kde.org
Fri Oct 26 17:01:59 BST 2007


Em Friday 26 October 2007 17:45:30 David Faure escreveu:
> On Thursday 16 August 2007, Leo Savernik wrote:
> > Am Donnerstag, 16. August 2007 schrieb David Faure:
> > > > I was wondering if it's not a good idea to install the kimgio plugins
> > > > in the Qt image format plugins dir.
> > > >
> > > > This way Qt only programs can have the benefit of the extra image
> > > > format plugins too.
> > >
> > > You can't install into Qt itself - could be root-owned and readonly.
> > > Just set QT_PLUGIN_PATH to <kdeprefix>/lib/kde4/plugins.
> >
> > Couldn't this be done automatically on KDE session startup?
>
> Yes I think this would be a good idea.
> What about the attached patch?
>
> Tested here, works -- at least the env var appears in the /proc/pid/environ
> of the kde4 apps. Inside konsole it's not set since the shell gets its own
> environment, but that's not something we can do anything about I guess,
> shell people will still need to configure their shell.

Attached patch makes QCA not install to Qt's path either.



-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qca.diff
Type: text/x-diff
Size: 528 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071026/570853dd/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071026/570853dd/attachment.sig>


More information about the kde-core-devel mailing list