Login  Register

local settings

Posted by ravas on May 12, 2015; 6:52pm
URL: https://forum.librecad.org/local-settings-tp5711509.html

dxli wrote
Hi ravas,

Looks like we need a wiki on "How to remove all local setting options". Users should try this option before reporting a bug.

users should remove the local setting file to remove all local settings.

http://doc.qt.io/qt-4.8/qsettings.html
From that link:

On Windows, NativeFormat settings are stored in the following registry paths:

HKEY_CURRENT_USER\Software\MySoft\Star Runner
HKEY_CURRENT_USER\Software\MySoft
HKEY_LOCAL_MACHINE\Software\MySoft\Star Runner
HKEY_LOCAL_MACHINE\Software\MySoft
Note: On Windows, for 32-bit programs running in WOW64 mode, settings are stored in the following registry path: HKEY_LOCAL_MACHINE\Software\WOW6432node.
I couldn't find a "MySoft" in any of those locations.
I have never distributed my own software;
however I like the idea of having the settings in the program folder.
This raises the issue of overwriting it when installing new versions.
Ideally I would have the installer ask about overwriting user files.
This way the settings file is in the same place for all systems.

Requiring that Windows users modify the registry is not desirable for several reasons.
With that said... I still have no idea where these settings are... ;D