(In reply to Thiago)<div><br></div><div>It's because I can't use KService. Those plugins will be loaded in helpers as well, and I surely don't want to spawn a KDE session just to load a pair of plugins, so using Qt's dynamic plugins seems to me a better solution. Is something like ${LIB_INSTALL_DIR}/kauth/helper acceptable?<br>
<div class="gmail_quote"><br></div><div class="gmail_quote">2010/2/12 Dario Freddi <span dir="ltr"><<a href="mailto:drf54321@gmail.com">drf54321@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Friday 12 February 2010 19:06:47 Alexander Neundorf wrote:<br>
> I think this part doesn't look good:<br>
><br>
> @@ -187,4 +191,9 @@<br>
> auth/backends/dbus/dbus_service.stub<br>
> DESTINATION ${DATA_INSTALL_DIR}/kauth COMPONENT Devel)<br>
><br>
> +# Set the various directories<br>
> +set(KAUTH_HELPER_PLUGIN_DIR "${QT_PLUGINS_DIR}/kauth/helper")<br>
> +set(KAUTH_BACKEND_PLUGIN_DIR "${QT_PLUGINS_DIR}/kauth/backend")<br>
> +set(KAUTH_OTHER_PLUGIN_DIR "${QT_PLUGINS_DIR}/kauth/plugins")<br>
> +<br>
><br>
><br>
> Because this way these settings are not in the cache and can not be changed<br>
> by the one who builds the package.<br>
> So, these variables should be in the cache, and I'm also not sure that they<br>
> should default to a subdir of QT_PLUGINS_DIR.<br>
> I'd say by default everything should go somewhere inside<br>
> CMAKE_INSTALL_PREFIX.<br>
<br>
</div>I admit I plain stole these from QCA. Is there any path where putting the<br>
plugins would be suggested?<br>
<div class="im"><br>
><br>
> Do I remember right that we discussed this already once ?<br>
<br>
</div>No, it's the first time I attempted this move. We discussed where to place<br>
polkit action files, which was a similar issue though.<br>
<br>
><br>
> Alex<br>
<div><div></div><div class="h5"><br>
--<br>
-------------------<br>
<br>
Dario Freddi<br>
KDE Developer<br>
GPG Key Signature: 511A9A3B<br>
</div></div></blockquote></div><br></div>