Using dynamic Qt plugins in KAuth
Dario Freddi
drf54321 at gmail.com
Sun Feb 14 17:57:25 CET 2010
On Sunday 14 February 2010 17:55:07 Alexander Neundorf wrote:
> On Sunday 14 February 2010, Dario Freddi wrote:
> > On Sunday 14 February 2010 00:00:52 Christoph Feck wrote:
> > > On Saturday 13 February 2010 20:42:21 Dario Freddi wrote:
> > > > Is something like ${LIB_INSTALL_DIR}/kauth/helper acceptable?
> > >
> > > No, use something like ${PLUGIN_INSTALL_DIR}/plugins/kauthbackends/
> >
> > Thanks. I committed the fix in 1089968 so that the set lines are now
> >
> > set(KAUTH_HELPER_PLUGIN_DIR "${PLUGIN_INSTALL_DIR}/plugins/kauth/helper"
> > CACHE STRING "Where KAuth's helper plugin will be installed")
> >
> > This should fix both of the issues pointed by Alexander. If no further
> > objections will arise, I'll backport everything in a pair of days.
>
> Hmm.
> There is a small issue with this:
> if you just run cmake, and then run e.g. cmake-gui to change
> CMAKE_INSTALL_PREFIX, this change will not automatically propagate through
> to KAUTH_HELPER_PLUGIN_DIR, since this will be already in the CMake cache
> then.
>
> Please have a look at the set_fancy() macro in FindKDE4Internal.cmake and
> see if it works for you (there is full documentation just above the
> macro).
Looks like it could work out. So in the end
_set_fancy(KAUTH_BACKEND_PLUGIN_DIR
"${PLUGIN_INSTALL_DIR}/plugins/kauth/backend" "Where KAuth's backend plugin
will be installed")
Is the correct command?
>
> 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/0d7e224d/attachment.sig
More information about the Kde-buildsystem
mailing list