<div dir="ltr">Just asked Thiago on irc and got the answer I should have known. QLibraryInfo. So the question is should we use QLibraryInfo::location(QLibraryInfo::PrefixPath) + QString::fromLatin1("/share") or is QLibraryInfo::location(QLibraryInfo::DataPath) enough. A quick test in my qt5.4 here shows those are both the same, but maybe that's because I did -developer-build when I configured, so I wouldn't need to make install.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 8, 2015 at 4:29 PM, René J.V. <span dir="ltr"><<a href="mailto:rjvbertin@gmail.com" target="_blank">rjvbertin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thursday January 08 2015 23:57:55 David Faure wrote:<br>
<br>
<br>
<br>
> So yeah, I guess QT_INSTALL_PREFIX/share is your best bet.<br>
> But we'll see if other QtCore people have a better idea.<br>
<br>
</span>That would work, but we'd still need to get it either into a config.h equivalent (qconfig.h?), or at the right place in a compiler argument list (with -D).<br>
<br>
I've tried to ask for some guidance on this on the interest ML, but got redirected to the development ML.<br>
I'd just as well not subscribe to YAML; is/are any of you subscribed?<br>
<br>
R.<br>
<br>
<br>
> Hello,<br>
><br>
> We're working on a patch for QStandardPaths on Mac OS X that will add an<br>
> XDG-compliant element to the search path, an element that is known at<br>
> compile time. A review request will soon be made for this change explaining<br>
> the situation in more detail. We figured that the best way to implement<br>
> this would be to add a preprocessor macro that is defined at configure time<br>
> when an option such as -xdg-compliant-path= is given to configure. That<br>
> macro would contain the additional search path element, and which is also<br>
> used to activate the modified code so that no changes are made as long as<br>
> the configure option isn't given (the default). None of us have sufficient<br>
> knowledge of the configure and build system, so some guidance would be very<br>
> welcome.<br>
><br>
</blockquote></div><br></div>