<div dir="ltr">David,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 13, 2015 at 12:40 PM, David Faure <span dir="ltr"><<a href="mailto:faure@kde.org" target="_blank">faure@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sunday 11 January 2015 13:37:38 René J.V. Bertin wrote:<br>
> configure -prefix /opt/local/libexec/qt5 \<br>
<br>
Well, this would break the suggested QStandardPaths patch quite a lot,<br>
that patch falls back to the Qt install prefix. Configured this way, it would<br>
never find /opt/local as the place where apps put stuff.<br>
<br>
That's why Tor Arne is right: it makes little sense to use the Qt install<br>
prefix as the presumed root for where other libs and apps install their files.<br>
These are two independent things.<br></blockquote><div><br></div><div>Yeah, I see his point. I think there are four ways forward. I'm not sure which would be most likely, but here they are. </div><div><br></div><div>1. The patch has a configurable default rather than using QLibraryInfo. I'm not sure how to add such a configurable value yet, but can figure it out if we go this way.</div><div>2. The patch has no default but only supports adding XDG_DATA_DIRS and XDG_CONFIG_DIRS to the already existing paths.</div><div>3. The macports of qt5 patch <a href="http://qstandardpaths_mac.mm">qstandardpaths_mac.mm</a>|cpp to support whatever prefix they use as default with the XDG_*_DIRS support.</div><div>4. All applications/libraries that use QStandardPaths change to use some "platform independent" way of finding their data files such as qrc resource files or installing files into each app bundle itself or something.</div><div><br></div><div>Which of these do you see as most likely to get accepted/approval from Tor Arne and co?</div><div><br></div><div>BR,</div><div>Jeremy</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
--<br>
David Faure, <a href="mailto:faure@kde.org">faure@kde.org</a>, <a href="http://www.davidfaure.fr" target="_blank">http://www.davidfaure.fr</a><br>
Working on KDE Frameworks 5<br>
<br>
</div></div></blockquote></div><br></div></div>