Re: unusual QT_PLUGIN_PATH paths
Am Donnerstag 11 März 2010 20:20:14 schrieb George Kiagiadakis:
> On Thu, Mar 11, 2010 at 6:01 PM, Modestas Vainius <modestas@vainius.eu>
wrote:
> > Sveiki,
> >
> > On ketvirtadienis 11 Kovas 2010 17:52:25 Andreas Marschke wrote:
> >> > Because these plugins are special (QtScript bindings).
> >>
> >> The QScript Plugins was just one example of it the fact remains that the
> >> rest of the plugins installed in that directory are not part of the
> >> variable. what I actually mean was why is /usr/share/qt4/plugins/ not
> >> part of the QT_PLUGIN_PATH since those are genuine plugins to Qt or
> >> arent they?
> >
> > /usr/share/qt4/plugins/ ? qtscriptgenerator binaries are installed to
> > /usr/lib/qt4/plugins/script/ [1]. Architecture dependent stuff in
> > /usr/share would be a very serious bug.
>
> Hello,
> This directory is a link actually:
>
> % ls -l /usr/share/qt4/plugins
> lrwxrwxrwx 1 root root 21 May 18 2008 /usr/share/qt4/plugins ->
> ../../lib/qt4/plugins/
>
> and the directory where it points to (/usr/lib/qt4/plugins) is the
> default plugin dir for Qt and doesn't need to be in QT_PLUGIN_PATH. Qt
> looks in there by default. I hope that answers the original question.
>
> Regards,
> George
>
Thanks for the explanation. My problem now is that its not working in Kross
atm. I probably need to talk to the developers if and see if they can fix
this.
Cheers,
Andreas Marschke.
Reply to: