- Check if a value registry exists with QSettings
- QSettings settings("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths", QSettings::NativeFormat);
- if (settings.childGroups().contains("aatest",Qt::CaseInsensitive)){
- std::cout <<"yes" <<std::endl;
- }else{
- std::cout <<"no" <<std::endl;
- }