HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

qtchooser — A wrapper used to select between Qt development binary versions. More information: <https://manned.o

Submitted by: @import:tldr-pages··
0
Viewed 0 times
selectcommandbetweendevelopmentusedcliqtchooserwrapper
linux

Problem

How to use the qtchooser command: A wrapper used to select between Qt development binary versions. More information: <https://manned.org/qtchooser>.

Solution

qtchooser — A wrapper used to select between Qt development binary versions. More information: <https://manned.org/qtchooser>.

List available Qt versions from the configuration files:
qtchooser --list-versions


Print environment information:
qtchooser --print-env


Run the specified tool using the specified Qt version:
qtchooser --run-tool={{tool}} --qt={{version_name}}


Add a Qt version entry to be able to choose from:
qtchooser --install {{version_name}} {{path/to/qmake}}


Display help:
qtchooser --help

Code Snippets

List available Qt versions from the configuration files

qtchooser --list-versions

Print environment information

qtchooser --print-env

Run the specified tool using the specified Qt version

qtchooser --run-tool={{tool}} --qt={{version_name}}

Add a Qt version entry to be able to choose from

qtchooser --install {{version_name}} {{path/to/qmake}}

Display help

qtchooser --help

Context

tldr-pages: linux/qtchooser

Revisions (0)

No revisions yet.