Hi
I am developing a desktop application and need to find somewhere to store persistent data. This data needs to be shared with all users of the pc upon which the application is stored.
I have looked at QStandardPaths and the DataLocation, but when I use
QStringList sl = QStandardPaths::standardLocations(QStandardPaths::DataLocation);
I get 2 paths one to the users AppData/Local folder with the organisation and application names appended and one to C:/ProgramData (again with the names appended)
Now I know that I need to user the second one,
but am I guaranteed that the this will always be in the second position
will it work cross platform?
is there a better way
Thanks for you time
↧