[Development] QStandardPaths::writableLocation() on OSX in test mode
René J.V. Bertin
rjvbertin at gmail.com
Wed Nov 11 18:45:50 UTC 2015
On Wednesday November 11 2015 19:07:17 David Faure wrote:
> Yes, and the value returned by writableLocation() is supposed to be user-specific
> (something under $HOME) rather than system-wide.
Agreed.
>
> So /Applications should be in QSP::standardLocations(ApplicationsLocation)
> but QSP::writableLocation(ApplicationsLocation) should return something under
> $HOME, like on XDG unixes (where it's ~/.local/share/applications).
Ah, so apparently it really should be ".../share/applications" when QSP is in XDG-compliant mode.
Back to the drawing board :)
Anyway, here's the list of all locations, standard and writable, regular and testing, native and XDG-compliant.
I'd appreciate extra pairs of eyes to check for inconsistencies or errors.
Standard locations:
AppConfigLocation = $HOME/Library/Preferences/qtpaths
AppDataLocation = $HOME/Library/Application Support/qtpaths:/Library/Application Support/qtpaths:/opt/local/libexec/qt5/bin/
AppLocalDataLocation = $HOME/Library/Application Support/qtpaths:/Library/Application Support/qtpaths:/opt/local/libexec/qt5/bin/
ApplicationsLocation = /Applications
CacheLocation = $HOME/Library/Caches/qtpaths:/Library/Caches/qtpaths
ConfigLocation = $HOME/Library/Preferences
DataLocation = $HOME/Library/Application Support/qtpaths:/Library/Application Support/qtpaths:/opt/local/libexec/qt5/bin/
DesktopLocation = $HOME/Desktop
DocumentsLocation = $HOME/Documents
DownloadLocation = $HOME/Downloads
FontsLocation = $HOME/Library/Fonts:/Library/Fonts:/System/Library/Fonts
GenericCacheLocation = $HOME/Library/Caches:/Library/Caches
GenericConfigLocation = $HOME/Library/Preferences
GenericDataLocation = $HOME/Library/Application Support:/Library/Application Support
HomeLocation = $HOME
MoviesLocation = $HOME/Movies
MusicLocation = $HOME/Music
PicturesLocation = $HOME/Pictures
RuntimeLocation = $HOME/Library/Application Support
TempLocation = $TMPDIR
Standard locations, testing mode:
AppConfigLocation = $HOME/.qttest/Preferences/qtpaths
AppDataLocation = $HOME/.qttest/Application Support/qtpaths:/Library/Application Support/qtpaths:/opt/local/libexec/qt5/bin/
AppLocalDataLocation = $HOME/.qttest/Application Support/qtpaths:/Library/Application Support/qtpaths:/opt/local/libexec/qt5/bin/
ApplicationsLocation = /Applications
CacheLocation = $HOME/.qttest/Cache/qtpaths:/Library/Caches/qtpaths
ConfigLocation = $HOME/.qttest/Preferences
DataLocation = $HOME/.qttest/Application Support/qtpaths:/Library/Application Support/qtpaths:/opt/local/libexec/qt5/bin/
DesktopLocation = $HOME/Desktop
DocumentsLocation = $HOME/Documents
DownloadLocation = $HOME/Downloads
FontsLocation = $HOME/Library/Fonts:/Library/Fonts:/System/Library/Fonts
GenericCacheLocation = $HOME/.qttest/Cache:/Library/Caches
GenericConfigLocation = $HOME/.qttest/Preferences
GenericDataLocation = $HOME/.qttest/Application Support:/Library/Application Support
HomeLocation = $HOME
MoviesLocation = $HOME/Movies
MusicLocation = $HOME/Music
PicturesLocation = $HOME/Pictures
RuntimeLocation = $HOME/Library/Application Support
TempLocation = $TMPDIR
Writable locations:
AppConfigLocation = $HOME/Library/Preferences/qtpaths
AppDataLocation = $HOME/Library/Application Support/qtpaths
AppLocalDataLocation = $HOME/Library/Application Support/qtpaths
ApplicationsLocation = /Applications
CacheLocation = $HOME/Library/Caches/qtpaths
ConfigLocation = $HOME/Library/Preferences
DataLocation = $HOME/Library/Application Support/qtpaths
DesktopLocation = $HOME/Desktop
DocumentsLocation = $HOME/Documents
DownloadLocation = $HOME/Downloads
FontsLocation = $HOME/Library/Fonts
GenericCacheLocation = $HOME/Library/Caches
GenericConfigLocation = $HOME/Library/Preferences
GenericDataLocation = $HOME/Library/Application Support
HomeLocation = $HOME
MoviesLocation = $HOME/Movies
MusicLocation = $HOME/Music
PicturesLocation = $HOME/Pictures
RuntimeLocation = $HOME/Library/Application Support
TempLocation = $TMPDIR
Writable locations, testing mode:
AppConfigLocation = $HOME/.qttest/Preferences/qtpaths
AppDataLocation = $HOME/.qttest/Application Support/qtpaths
AppLocalDataLocation = $HOME/.qttest/Application Support/qtpaths
ApplicationsLocation = /Applications
CacheLocation = $HOME/.qttest/Cache/qtpaths
ConfigLocation = $HOME/.qttest/Preferences
DataLocation = $HOME/.qttest/Application Support/qtpaths
DesktopLocation = $HOME/Desktop
DocumentsLocation = $HOME/Documents
DownloadLocation = $HOME/Downloads
FontsLocation = $HOME/Library/Fonts
GenericCacheLocation = $HOME/.qttest/Cache
GenericConfigLocation = $HOME/.qttest/Preferences
GenericDataLocation = $HOME/.qttest/Application Support
HomeLocation = $HOME
MoviesLocation = $HOME/Movies
MusicLocation = $HOME/Music
PicturesLocation = $HOME/Pictures
RuntimeLocation = $HOME/Library/Application Support
TempLocation = $TMPDIR
Standard locations, XDG/Freedesktop compliant mode:
AppConfigLocation = $HOME/Library/Preferences/qtpaths
AppDataLocation = $HOME/.local/share/qtpaths:/Library/Application Support/qtpaths:/opt/local/share/qtpaths:/opt/local/libexec/qt5/bin/
AppLocalDataLocation = $HOME/.local/share/qtpaths:/Library/Application Support/qtpaths:/opt/local/share/qtpaths:/opt/local/libexec/qt5/bin/
ApplicationsLocation = /Applications
CacheLocation = $HOME/.cache/qtpaths:$HOME/.cache:/Library/Caches/qtpaths
ConfigLocation = $HOME/.config:/opt/local/etc/xdg
DataLocation = $HOME/.local/share/qtpaths:/Library/Application Support/qtpaths:/opt/local/share/qtpaths:/opt/local/libexec/qt5/bin/
DesktopLocation = $HOME/Desktop
DocumentsLocation = $HOME/Documents
DownloadLocation = $HOME/Downloads
FontsLocation = $HOME/Library/Fonts:/Library/Fonts:/System/Library/Fonts
GenericCacheLocation = $HOME/.cache:$HOME/.cache:/Library/Caches
GenericConfigLocation = $HOME/.config:/opt/local/etc/xdg
GenericDataLocation = $HOME/.local/share:/opt/local/share:/Library/Application Support
HomeLocation = $HOME
MoviesLocation = $HOME/Movies
MusicLocation = $HOME/Music
PicturesLocation = $HOME/Pictures
RuntimeLocation = $HOME/Library/Application Support
TempLocation = $TMPDIR
Standard locations, testing + XDG/Freedesktop compliant mode:
AppConfigLocation = $HOME/.qttest/Preferences/qtpaths
AppDataLocation = $HOME/.qttest/.local/share/qtpaths:/Library/Application Support/qtpaths:/opt/local/share/qtpaths:/opt/local/libexec/qt5/bin/
AppLocalDataLocation = $HOME/.qttest/.local/share/qtpaths:/Library/Application Support/qtpaths:/opt/local/share/qtpaths:/opt/local/libexec/qt5/bin/
ApplicationsLocation = /Applications
CacheLocation = $HOME/.qttest/.cache/qtpaths:$HOME/.cache:/Library/Caches/qtpaths
ConfigLocation = $HOME/.qttest/.config:/opt/local/etc/xdg
DataLocation = $HOME/.qttest/.local/share/qtpaths:/Library/Application Support/qtpaths:/opt/local/share/qtpaths:/opt/local/libexec/qt5/bin/
DesktopLocation = $HOME/Desktop
DocumentsLocation = $HOME/Documents
DownloadLocation = $HOME/Downloads
FontsLocation = $HOME/Library/Fonts:/Library/Fonts:/System/Library/Fonts
GenericCacheLocation = $HOME/.qttest/.cache:$HOME/.cache:/Library/Caches
GenericConfigLocation = $HOME/.qttest/.config:/opt/local/etc/xdg
GenericDataLocation = $HOME/.qttest/.local/share:/opt/local/share:/Library/Application Support
HomeLocation = $HOME
MoviesLocation = $HOME/Movies
MusicLocation = $HOME/Music
PicturesLocation = $HOME/Pictures
RuntimeLocation = $HOME/Library/Application Support
TempLocation = $TMPDIR
Writable locations, XDG/Freedesktop compliant mode:
AppConfigLocation = $HOME/Library/Preferences/qtpaths
AppDataLocation = $HOME/.local/share/qtpaths
AppLocalDataLocation = $HOME/.local/share/qtpaths
ApplicationsLocation = /Applications
CacheLocation = $HOME/.cache/qtpaths
ConfigLocation = $HOME/.config
DataLocation = $HOME/.local/share/qtpaths
DesktopLocation = $HOME/Desktop
DocumentsLocation = $HOME/Documents
DownloadLocation = $HOME/Downloads
FontsLocation = $HOME/Library/Fonts
GenericCacheLocation = $HOME/.cache
GenericConfigLocation = $HOME/.config
GenericDataLocation = $HOME/.local/share
HomeLocation = $HOME
MoviesLocation = $HOME/Movies
MusicLocation = $HOME/Music
PicturesLocation = $HOME/Pictures
RuntimeLocation = $HOME/Library/Application Support
TempLocation = $TMPDIR
Writable locations, testing + XDG/Freedesktop compliant mode:
AppConfigLocation = $HOME/.qttest/Preferences/qtpaths
AppDataLocation = $HOME/.qttest/.local/share/qtpaths
AppLocalDataLocation = $HOME/.qttest/.local/share/qtpaths
ApplicationsLocation = /Applications
CacheLocation = $HOME/.qttest/.cache/qtpaths
ConfigLocation = $HOME/.qttest/.config
DataLocation = $HOME/.qttest/.local/share/qtpaths
DesktopLocation = $HOME/Desktop
DocumentsLocation = $HOME/Documents
DownloadLocation = $HOME/Downloads
FontsLocation = $HOME/Library/Fonts
GenericCacheLocation = $HOME/.qttest/.cache
GenericConfigLocation = $HOME/.qttest/.config
GenericDataLocation = $HOME/.qttest/.local/share
HomeLocation = $HOME
MoviesLocation = $HOME/Movies
MusicLocation = $HOME/Music
PicturesLocation = $HOME/Pictures
RuntimeLocation = $HOME/Library/Application Support
TempLocation = $TMPDIR
More information about the Kde-frameworks-devel
mailing list