Important: Please read the Qt Code of Conduct -

Another application check

  • Does Qt have a way to check to see if another application is already installed? I’m writing a desktop Qt application that talks to R, and would like to check if it’s installed. Perhaps QProcess is the best way to go, but I’m not sure and am open to suggestions.

  • Moderators

    you if its installed on the machine (available) or currently running?

    For checking if a application is installed is not so easy since you don't know where it is installed. On windows e.g. you would have to check the windows registry (e.g. with QSettings) and look there in the list of installed programs.

    If you want to check if the application is currently running you also need help from the OS itself. QProcess only helps you if you started the program out of your code.

Log in to reply