Forrest logo
back to the qtchooser tool

qtchooser:tldr:0987e

qtchooser: List available Qt versions from the configuration files.
$ qtchooser --list-versions
try on your machine

The command "qtchooser --list-versions" is used in the Qt development framework to list the available installed versions of Qt on a system.

When you have multiple versions of Qt installed on your machine, this command helps you identify and select a specific version of Qt to use for compiling and running Qt-based applications.

By running "qtchooser --list-versions" in the command line or terminal, you will see a list of all the installed Qt versions along with their respective names or aliases. Each version is identified by a unique name or alias (e.g., "default" or "qt5" for the latest version).

This command is particularly useful when you need to ensure compatibility with a specific version of Qt or if you want to switch between different Qt versions for different projects or purposes.

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