[Development] QStandardPaths::writableLocation() on OSX in test mode
Thiago Macieira
thiago.macieira at intel.com
Wed Nov 11 20:27:49 CET 2015
On Wednesday 11 November 2015 19:07:17 David Faure wrote:
> On Wednesday 11 November 2015 16:03:31 Petroules Jake wrote:
> > I mean the API returns a single value, not a list.
>
> Yes, and the value returned by writableLocation() is supposed to be
> user-specific (something under $HOME) rather than system-wide.
>
> 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).
Assuming there's such a standard. If there isn't, it should return empty (no
writable location).
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list