View Single Post
Posts: 1 | Thanked: 1 time | Joined on Dec 2020
#153
What's the proper way to store an apps settings?

For my current (and first) app I'm for now just grabbing the `$HOME` environment variable and stuff a file in `$HOME/.config/app/settings`, but this is just for local dev and testing.

Once I'm distributing it through OpenRepos I'd like to do it the proper way (if there is one).

edit: Thanks for the hint, coderus. I've gone with:
Code:
QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)

Last edited by aerique; 2020-12-05 at 20:56.
 

The Following User Says Thank You to aerique For This Useful Post: