Hi there! I'd like to know whether it is possible to find out if a registry key exists by the means of QSettings. I was trying to use QSettings::contains, but it doesn't work.

Qt Code:
  1. QSettings reg("HKEY_LOCAL_MACHINE\\Software\\VideoLan", QSettings::NativeFormat);
  2. bool exists = reg.contains("VLC");
To copy to clipboard, switch view to plain text mode