Using dynamic Qt plugins in KAuth

Dario Freddi drf54321 at gmail.com
Sun Feb 14 20:09:52 CET 2010


On Sunday 14 February 2010 20:00:38 Alexander Neundorf wrote:
> On Sunday 14 February 2010, Dario Freddi wrote:
> > (No need to spam the lists for that)
> > 
> > On Sunday 14 February 2010 18:30:01 you wrote:
> > > > _set_fancy(KAUTH_BACKEND_PLUGIN_DIR
> > > > "${PLUGIN_INSTALL_DIR}/plugins/kauth/backend" "Where KAuth's backend
> > > > plugin will be installed")
> > > > 
> > > > Is the correct command?
> > > 
> > > I think so.
> > > Play around with it a bit, i.e., let cmake run without specifying
> > > anything and see what KAUTH_BACKEND_PLUGIN_DIR will be.
> > 
> > It simply looks like that variable is never added to the cache. Do I need
> > to supply anything else to _set_fancy? Or do I have to explicitely add
> > the variable to the cache after having set it with _set_fancy?
> 
> If you just have a set_fancy() and don't do anything else, it doesn't go in
> the cache, so it still follows CMAKE_INSTALL_PREFIX if this is changed.
> If you put it in the cache (as described below), it should go in the cache
> and should not follow changes of CMAKE_INSTALL_PREFIX anymore.

I see, this actually makes sense. I performed the tests you suggested and all 
went fine. I'll commit this togheter with the other patch I've posted a pair 
of hours ago in the list upon approval.

> 
> Alex

-- 
-------------------

Dario Freddi
KDE Developer
GPG Key Signature: 511A9A3B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20100214/df171552/attachment.sig 


More information about the Kde-buildsystem mailing list