Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QSettings Windows Platform-specific notes does not match behavior



  • In the QSettings Platform-specific notes (http://qt-project.org/doc/qt-5.0/qsettings.html#platform-specific-notes) the documentation for the windows NativeFormat claims that that the organization keys will be found in HKEY_CURRENT_USER\Software\MySoft and HKEY_LOCAL_MACHINE\Software\MySoft. The actual behavior will look for the keys in HKEY_CURRENT_USER\Software\MySoft\OrganizationDefaults and HKEY_LOCAL_MACHINE\Software\MySoft\OrganizationDefaults. See the constructor for QWinSettingsPrivate in qsettings_win.cpp for where "OrganizationDefaults" is appended to the key path. The documentation should be updated to reflect the behavior.


  • Moderators

    Bug reports are really appreciated, but please "file":http://bugreports.qt-project.org/ them in the bug tracker. Forums are rather bad for bug reporting as issues tend to get overlooked once they are no longer in the top spots of the topic list.


Log in to reply