![]() |
Re: Help me to code for Sailfish OS
You mean like ?
Code:
dconf dump / |
Re: Help me to code for Sailfish OS
as per the response from peterleinchen, you can also output to file;
Code:
dconf dump / > dconf-output.txt |
Re: Help me to code for Sailfish OS
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) |
Re: Help me to code for Sailfish OS
Quote:
Code:
QStandardPaths::writableLocation(QStandardPaths::DataLocation) |
All times are GMT. The time now is 09:49. |
vBulletin® Version 3.8.8