[Development] glib's and Qt's RuntimeLocation [OS X]

René J. V. Bertin rjvbertin at gmail.com
Tue Nov 24 11:25:46 CET 2015


Hello,

This is a follow-up question to one I posted yesterday.

Looking into the paths used for QSP::RuntimeLocation in more detail I noticed 
that GLib has its own ideas, using $HOME/.cache on OS X:

https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-user-runtime-dir

I have the impression that it's not that uncommon to use glib from Qt-based 
applications; how (un)likely is it that the disagreement on the location of the 
user runtime directory will lead to issues?

R

PS: why did Qt choose ~/Library/Application Support for that location? Isn't the 
stuff stored there supposed to be volatile that doesn't need to survive reboots 
or end up in (Time Machine) backups?




More information about the Development mailing list