How to get all Installed programs in Windows Using Qt



  • I want to get all the installed programs using Qt code.
    @QSettings settings(QLatin1String("HKEY_CURRENT_USER\SOFTWARE"),QSettings::NativeFormat);
    qDebug()<<settings.fileName();

    QString exactloc = settings.value(QLatin1String("InstallLocation"),0).toString();@
    

    I tried this but its always given the Null string.
    IS there any shortest way to get all the installed programs.
    Please Give me valuable suggestion or link or code .
    Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.