[Qt-interest] Finding default programme for file type
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Fri Aug 6 11:12:35 CEST 2010
yogesh upreti wrote on Friday, August 06, 2010 10:51 AM:
> ...
> But is there a Api that access registry key?
It is not its primary design goal but with QSettings you can also read the Windows registry, also "foreign" keys (that your application did not create itself), given the "HKEY".
See http://doc.trolltech.com/4.6/qsettings.html#platform-specific-notes under "Accessing the Windows Registry Directly". The only drawback is that the HKEY (registry path) must not contain any slash or backslash (because those characters are reserved by QSettings to separate its own path.
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list