[KDE/Mac] Thoughts on standard directories in Qt5 - QStandardPaths

Marko Käning mk-lists at email.de
Thu Dec 11 08:23:25 UTC 2014


Hi Ian,
Hi Jeremy,

On 11 Dec 2014, at 09:13 , Ian Wadham <iandw.au at gmail.com> wrote:
> I cannot see why you have so many paths in your $XDG_DATA_DIRS value.

this is due to the nature of the CI system in general!
It installs all FWs/apps in their separate install roots.
Those then need to be passed on to the search paths.
This is the root cause of many of my problems, which recently start to resolve bit by bit.
	Thanks to your support! :-)

In short, those paths need to be set as shown.


> Also, I think QSP will append the app name automatically when you ask it for DataLocation:
> the organisation name, too, if it has been set in QCoreApplication.

Well, the organisation name...
I don’t know whether and how this is currently being used by KF5.
I guess I need to contact K-F-D regarding this, but perhaps Jeremy knows!


> In Qt 5.4 there are two new QSP locations: AppDataLocation and AppLocalDataLocation.  These
> are intended to replace DataLocation, making DataLocation deprecated.  On all platforms, except
> Windows, AppLocalDataLocation = AppDataLocation = (old) DataLocation.

Oh, that’s completely new for me! We have to have that in mind once the
OSX/CI system starts using version 5.4! Thanks for pointing that out!

Greets,
Marko


More information about the kde-mac mailing list