Using dynamic Qt plugins in KAuth

Dario Freddi drf54321 at gmail.com
Fri Feb 12 19:15:43 CET 2010


On Friday 12 February 2010 19:06:47 Alexander Neundorf wrote:
> I think this part doesn't look good:
> 
> @@ -187,4 +191,9 @@
>                 auth/backends/dbus/dbus_service.stub
>           DESTINATION ${DATA_INSTALL_DIR}/kauth COMPONENT Devel)
> 
> +# Set the various directories
> +set(KAUTH_HELPER_PLUGIN_DIR "${QT_PLUGINS_DIR}/kauth/helper")
> +set(KAUTH_BACKEND_PLUGIN_DIR "${QT_PLUGINS_DIR}/kauth/backend")
> +set(KAUTH_OTHER_PLUGIN_DIR "${QT_PLUGINS_DIR}/kauth/plugins")
> +
> 
> 
> Because this way these settings are not in the cache and can not be changed
> by the one who builds the package.
> So, these variables should be in the cache, and I'm also not sure that they
> should default to a subdir of QT_PLUGINS_DIR.
> I'd say by default everything should go somewhere inside
> CMAKE_INSTALL_PREFIX.

I admit I plain stole these from QCA. Is there any path where putting the 
plugins would be suggested?

> 
> Do I remember right that we discussed this already once ?

No, it's the first time I attempted this move. We discussed where to place 
polkit action files, which was a similar issue though.

> 
> 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/20100212/c68baf3a/attachment-0001.sig 


More information about the Kde-buildsystem mailing list