[Qt-interest] Registry Virtualization in Windows Vista and QSettings
Anthony Serdyukov
uksus70+qt at gmail.com
Fri Nov 6 03:59:28 CET 2009
All my experiments and all the tips have lead me to the following solution.
The ability of writing to system scope should be detected via
QSettings::isWritable(). Correctness of this check in Windows Vista
and higher should be ensured by embedding manifest with
requestedExecutionLevel=asInvoker as Marco suggested. The check is
correct in Linux too.
Depending on the result of the mentioned check some controls in the
"Settings Dialog" are to be disabled/readonly/hidden/etc.
And that works. Hope, this will help somebody.
More information about the Qt-interest-old
mailing list