On Monday 13 of October 2014 13:58:55 Stanislav Baiduzhyi wrote:
On Monday 13 October 2014 13:41:17 šumski wrote:
But that means that .config will be spammed with hundreds of KF5 config files soon, will be uncomfortable to handle if needed... Is that compile-time configuration or hardcoded directly in KF5?
It is 'hardcoded' into Qt5: http://qt-project.org/doc/qt-5/qstandardpaths.html#StandardLocation-enum
But then QSettings follows vendor and appName provided to QApplication... Well, doesn't matter, still little bit strange.
As said, you can use env variables: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#va ria bles
But that will set configs location globally, or there is some way to use it only for KF5-based apps? Yes, globally...
Cheers, Hrvoje