Important: Please read the Qt Code of Conduct -

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);

    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 .

Log in to reply