Add --dry-run and example for --use-official-installer

This commit is contained in:
Alexandre Poumaroux
2025-03-24 04:53:00 +01:00
committed by GitHub
parent d4f2cdbe1b
commit 228ab08026

View File

@@ -499,6 +499,7 @@ install-qt command
[--archives <archive> [<archive>...]]
[--autodesktop]
[--noarchives]
[--dry-run]
[--use-official-installer [<email> <password>]]
<host> <target> (<Qt version> | <spec>) [<arch>]
@@ -567,6 +568,10 @@ There are various combinations to accept according to Qt version.
This is advanced option and you should use it with ``--modules`` option.
This allow you to add modules to existent Qt installation.
.. option:: --dry-run
Perform a simulation of the installation process without making any changes.
.. option:: --use-official-installer [email password]
Use the official Qt installer instead of the AQT approach. This option ignores
@@ -877,6 +882,13 @@ Example: Install different versions of Qt6 for Web Assembly (WASM)
aqt install-qt all_os wasm 6.8.0 wasm_multithread --autodesktop
Example: Install commercial version 6.5.5 of Qt6 on Windows
.. code-block:: console
aqt install-qt windows desktop 6.5.5 win64_msvc2019_64 --use-official-installer 'email@gmail.com' 'password'
Example: List available versions of Qt on Linux
.. code-block:: console