![Forrest logo](/images/logo.png)
qtchooser:tldr:0987e
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.