Add --use-official-installer doc to cli.rst

This commit is contained in:
Alexandre Poumaroux
2025-03-24 04:46:49 +01:00
committed by GitHub
parent 44393832f3
commit d4f2cdbe1b

View File

@@ -499,6 +499,7 @@ install-qt command
[--archives <archive> [<archive>...]]
[--autodesktop]
[--noarchives]
[--use-official-installer [<email> <password>]]
<host> <target> (<Qt version> | <spec>) [<arch>]
Install Qt library, with specified version and target.
@@ -566,6 +567,18 @@ 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:: --use-official-installer [email password]
Use the official Qt installer instead of the AQT approach. This option ignores
the ``--host`` parameter and forces installation for the current OS due to Qt
restrictions.
If you are already signed in and have a valid ``qtaccount.ini`` for the current
user, you can use this option without parameters. Otherwise, you must provide
an email and password to authenticate.
See :ref:`the official installer section<official>` for more details.
See `common options`_.