[KDE/Mac] Thoughts on standard directories in Qt5 - QStandardPaths
bcooksley at kde.org
Fri Dec 12 10:29:51 UTC 2014
On Thu, Dec 11, 2014 at 9:23 PM, Marko Käning <mk-lists at email.de> wrote:
> 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!
k-f-d will be able to provide an answer to this question.
>> 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!
We probably will end up using DataLocation for a while yet as people
won't want to be pushed into upgrading for a minor change.
More information about the kde-mac