Qt-interest Archive, February 2007
HowTo: special directory locations on Mac and Windows
Message 1 in thread
I've written up some notes on solving a common issue I encounter when
developing Qt applications on OS-X - finding the locations of the
various magic directories such as ~/Library/Application Support/, the
user's trash folder, and so on. Just for fun, and since Qt is
supposed to be about portable software, I looked up the equivalent
code for Win32 (which I've used a few times and always lose for the
next time I need it) and also tried to find out the best approach on
Linux.
http://www.bugless.co.uk/howto/directory-locations.html
If you're curious, please take a look, and of course let me know any
feedback - perhaps KDE and / or Gnome define something better than I
was able to discover so far. The FreeDesktop.org standard I found
seems like it would be perfect, if people were actually using it. I'm
also unsure how many directory locations are really widely available
on Linux desktops, for example a 'My Documents' directory doesn't
seem to be standard.
Regards,
James
--
[ signature omitted ]