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

Jeremy Whiting jpwhiting at kde.org
Thu Dec 11 14:45:26 UTC 2014


Ian,

QCoreApplication gets the organization name and application name from
whatever we tell it. Look at
http://quickgit.kde.org/?p=kanagram.git&a=blob&h=94effa89abfe69f50ea0888bb2c8b99564130166&hb=57783ce14365e087573930cb9dff4ed948c4c190&f=src%2Fmain.cpp
for example in the KF5 porting notes it suggests setting the application
name and organization name when porting from KApplication to QApplication
so it can use those values in other things like KConfig and such I think.

On Thu, Dec 11, 2014 at 2:17 AM, René J.V. <rjvbertin at gmail.com> wrote:

> On Thursday December 11 2014 19:13:25 Ian Wadham wrote:
> >René has mentioned ~/.MacOSX/environment.plist as a way to set
> environment variables,
> >but that is deprecated in OS X 10.7 (Lion), which I have, and was dropped
> in OS X 10.8 (Mountain Lion).
> >In Lion, you do not get that file created by default.  Maybe you never
> did.
> >
> >I googled "Apple OS X environment.plist" and got scads of hits, but this
> one seems to sum things up nicely:
> >
> http://stackoverflow.com/questions/603785/environment-variables-in-mac-os-x/4567308#4567308
> >
>
> Ah! I wasn't aware of that. The upgrade process left my copy in place, so
> I could only assume it still worked.
>
> And of course I never bothered to roll a test application that doesn't use
> a shell to print out its inherited environment :-/
>
> R.
> _______________________________________________
> kde-mac at kde.org
> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
> KDE/Mac Information: http://community.kde.org/Mac
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20141211/556ed5f1/attachment.html>


More information about the kde-mac mailing list