Qt 6.11 is out! See what's new in the release
blog
QStandardPaths: what is the difference in PathTypes?
-
Hello!
In the documentation of QStandardPaths for storing something in device mentioned:
- QStandardPaths::ConfigLocation vs QStandardPaths::GenericConfigLocation - return the same path
- QStandardPaths::AppLocalDataLocation vs QStandardPaths::AppDataLocation - return the same path
The question is - What is better to use? What is the difference?
I've been trying to get a difference but gotten failed. There are the same for every pair member.My issue is to storing application data and configuration.
-
They may return different paths on other Operating Systems (for example: Windows has 3 data locations: user, local and roaming). See detailed description here.