Hi,

On Wed, Aug 17, 2011 at 1:50 PM, David Faure <[email protected]> wrote:

> In terms of implementation, I wonder if Windows and Mac have "system paths"
> for config and data. Unless I get some input on this, I'll just implement
> it
> to return the current storageLocation() string.
>
>
On Windows you can get the data path with SHGetSpecialFolderPath (
http://msdn.microsoft.com/en-us/library/bb762204%28v=vs.85%29.aspx ).

There are actually two paths for data:

- For the current user (pass CSIDL_APPDATA to SHGetSpecialFolderPath)
- For all users (pass CSIDL_COMMON_APPDATA to SHGetSpecialFolderPath)

As for configuration... it is usually stored in the registry or in a
subfolderin in AppData.


-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to