[Qt-interest] How to find a key presence in regedit?
R. Reucher
rene.reucher at batcom-it.net
Tue Sep 14 17:06:14 CEST 2010
If you want to access the Windows registry, you must use the
QSettings::NativeFormat format
(http://doc.qt.nokia.com/4.6/qsettings.html#Format-enum).
...
QString path = "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\"
QSettings s(path, QSettings::NativeFormat);
...
And as Oliver already stated, "My Computer" isn't valid.
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
More information about the Qt-interest-old
mailing list