Right now, the non-portable builds use the default
QSettings constructor which defaults to
QSettings::NativeFormat; that means different platforms use all sorts of different locations and backends. In particular, Windows settings end up in the registry.
I suggest that we instead use plain configuration files everywhere. (Exact paths open to discussion; there's no single value in
QStandardPaths that I would say is "correct" everywhere.) Advantages I see for this change:
- Allow sharing config files between operating systems, portable and non-portable versions.
- Make it easier/more obvious how to back up settings on Windows.
- Hypothetical 32-bit and 64-bit Windows versions could use the same settings (I'm not sure they can with the registry backend because of
The big obvious downside is that settings from older versions would be lost unless we explicitly migrate them. Considering we're already breaking the session history, I think it's worthwhile.
@heldercorreia @polwel @teyut @thadrien Thoughts welcome :)