[KDE/Mac] QStandardPaths possible solution
iandw.au at gmail.com
Thu Jan 8 05:51:47 UTC 2015
On 08/01/2015, at 8:03 AM, René J.V. Bertin wrote:
> On Wednesday January 07 2015 21:31:28 Marko Käning wrote:
>> I believe we should leave the standard path set to the XDG-compliant one (i.e. /usr/local/share)
>> and on MacPorts replace “/usr/local” against $prefix in the qt5-mac Portfile!
>> What do you guys think?
> I think the hardcoded string should be set at configure time. If you do it properly (#define FAKE_XDG_STANDARDPATH "/where/ever"), you can even provide a default configure set-up where the code behaves exactly as it does now:
> #ifdef FAKE_XDG_STANDARDPATH
> //prepend the hardcoded XDG-inspired standardpath FAKE_XDG_STANDARDPATH
> // define the default standardpath for this platform
> This adds a bit of complexity, but having a default configuration that just has some additional lines without effect should make acceptance easier, I guess.
I agree entirely, especially re prepending the XDG path, if it is defined, and the
gaining of acceptance. See my other email today.
Cheers, Ian W.
More information about the kde-mac