[Qt-interest] QSettings registry path in Windows 7

Nikolay Moskvichev nikolay.moskvichev at gmail.com
Mon Sep 13 06:08:11 CEST 2010


Hello, Josh
12.09.2010 1:55 you wrote:
> 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


This is how MS virtualisation works. There is nothing to do with Qt.

http://msdn.microsoft.com/en-us/library/aa965884(VS.85).aspx




More information about the Qt-interest-old mailing list