Important: Please read the Qt Code of Conduct -

Qt way to install a package under Linux?

  • I know that many of you Qt Devs are using Linux, so I was wondering what method are you using if the user needs to install an additional package so as to unlock a feature of your application?

    I've seen that a lot of apps are using a popup dialog indicating what are the packages missing. Then, after the user chooses to install these packages, the same dialog proceeds and installs them (without using a third-party program), showing a nice progressbar etc etc.

    This seems like GTK stuff. What would/do you use?

  • I think the best and more secure way is to create distribution specific packages and let the package manager handle required and optional dependencies. I suspect the applications that offer to install optional dependencies use the distribution's package manager in the background.

Log in to reply