I should be more precise. Code based on QStandardPaths like the following works as expected both on the desktop and under confinement:
QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) QStandardPaths::writableLocation(QStandardPaths::DataLocation) QStandardPaths::writableLocation(QStandardPaths::CacheLocation)
But your point in terms of "out of the box" using QSettings is valid. I'm taking a look at that now, will be back with an update soon.
I should be more precise. Code based on QStandardPaths like the following works as expected both on the desktop and under confinement:
QStandardPaths: :writableLocati on(QStandardPat hs::ConfigLocat ion) :writableLocati on(QStandardPat hs::DataLocatio n) :writableLocati on(QStandardPat hs::CacheLocati on)
QStandardPaths:
QStandardPaths:
But your point in terms of "out of the box" using QSettings is valid. I'm taking a look at that now, will be back with an update soon.