Add craftroot/share to QStandardPaths::GenericDataLocation on MacOS

Authored by arichardson on Sep 3 2018, 2:26 PM.

Description

Add craftroot/share to QStandardPaths::GenericDataLocation on MacOS

Summary:
Before patch:
$ qtpaths --paths GenericDataLocation
/Users/alex/Library/Application Support:/Users/alex/kde/share:/Library/Application Support:/Users/alex/kde/bin

After this change:
$ qtpaths --paths GenericDataLocation
/Users/alex/Library/Application Support:/Library/Application Support:/Users/alex/kde/bin

Also supported now:
$ QT_DATA_DIRS=/foo/bar qtpaths --paths GenericDataLocation
/Users/alex/Library/Application Support:/foo/bar:/Library/Application Support:/Users/alex/kde/bin

I have added this patch for upstream review as https://codereview.qt-project.org/#/c/238640/

Reviewers: vonreth, kfunk

Reviewed By: vonreth

Differential Revision: https://phabricator.kde.org/D15235

Details

Committed
arichardsonSep 3 2018, 2:26 PM
Reviewer
vonreth
Differential Revision
D15235: Add craftroot/share to QStandardPaths::GenericDataLocation on MacOS
Parents
R877:e820c87e11b6: Fix glib build on MacOS
Branches
Unknown
Tags
Unknown