[KDE/Mac] Thoughts on standard directories in Qt5 - QStandardPaths
mk-lists at email.de
Sun Dec 7 16:29:23 UTC 2014
On 07 Dec 2014, at 16:48 , Marko Käning <mk-lists at email.de> wrote:
> So the question is, would KDE/KF5 apps actually make use of this path type and if so for what?
Turns out that this code section:
// case ApplicationsLocation:
// path = writableLocation(GenericDataLocation) + QLatin1String("/applications");
lives in StandardPaths::writableLocation(StandardLocation type), which is perhaps fine
for OSX, as it is a non-writable location! :-)
In QStandardPaths::standardLocations(StandardLocation type) it is present as:
dirs = xdgDataDirs();
for (int i = 0; i < dirs.count(); ++i)
and _could_ be fine the way it is.
Also it is in translateLocation(QStandardPaths::StandardLocation type):
More I might know when my OSX/CI system built up to the end all of KF5...
(The build process is now starting with projects beyond tier 4! So far all build.)
More information about the kde-mac