[Interest] adding a configure option to add a hard-coded element to QStandardPaths

René J.V. Bertin rjvbertin at gmail.com
Thu Jan 8 22:14:18 CET 2015


We're working on a patch for QStandardPaths on Mac OS X that will add an XDG-compliant element to the search path, an element that is known at compile time. A review request will soon be made for this change explaining the situation in more detail.
We figured that the best way to implement this would be to add a preprocessor macro that is defined at configure time when an option such as -xdg-compliant-path= is given to configure. That macro would contain the additional search path element, and which is also used to activate the modified code so that no changes are made as long as the configure option isn't given (the default).
None of us have sufficient knowledge of the configure and build system, so some guidance would be very welcome.

René Bertin

More information about the Interest mailing list