Forrest logo
back to the qtchooser tool

qtchooser:tldr:983f3

qtchooser: Add a Qt version entry to be able to choose from.
$ qtchooser --install ${version_name} ${path-to-qmake}
try on your machine

The command "qtchooser --install ${version_name} ${path-to-qmake}" is used to install a specific version of Qt in the Qt Chooser tool.

  • "qtchooser" is the command for the Qt Chooser tool, which allows you to manage and switch between multiple versions of Qt on your system.
  • "--install" is a flag that specifies that you want to install a new Qt version.
  • "${version_name}" is a placeholder for the name or identifier of the Qt version you want to install. You should replace it with the actual name or identifier of the version.
  • "${path-to-qmake}" is a placeholder for the file path to the "qmake" executable of the Qt version you want to install. You should specify the actual path to the qmake executable file.

By executing this command with the appropriate values for the version name and the path to the qmake executable, you can install the specified version of Qt in the Qt Chooser tool, making it available for use in development projects.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the qtchooser tool