[Qt-interest] QSettings registry path in Windows 7

Josh jnfo-c at grauman.com
Sat Sep 11 21:55:41 CEST 2010


Hello all,

I just noticed that when saving QSettings to Native Format at the System 
Scope, Windows 7 doesn't store my registry settings to:
HKEY_LOCAL_MACHINE\Software\MySoft
but to some crazy path like:
HKEY_USERS\S-1-5-21-1227889133-3943895522-1993576771-1001\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\MyApp

The problem being that when another user installs my app, they can't 
access that registry setting (that's why I chose SystemScope, but I want 
this setting to be across the whole machine). Am I missing something? Is 
this a known bug? Thoughts on how to fix it?

Thanks!

Josh



More information about the Qt-interest-old mailing list