From f7d388ec5ffcd79f44d167caf9b6350d90e19933 Mon Sep 17 00:00:00 2001 From: Alexandre Poumaroux <1204936+Kidev@users.noreply.github.com> Date: Sun, 20 Apr 2025 01:05:15 +0200 Subject: [PATCH] Update cli.rst --- docs/cli.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/cli.rst b/docs/cli.rst index 2c4c39d..158c2d3 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -47,8 +47,8 @@ list-qt command --long-modules ( | latest) | --arch ( | latest) | --archives ( | latest) architecture [modules...] - --latest-version - --use-official-installer [ ]] + --latest-version] + [--use-official-installer [ ]] [] List available versions of Qt, targets, modules, and architectures. @@ -168,6 +168,10 @@ List available versions of Qt, targets, modules, and architectures. Use the official Qt installer instead of the AQT approach. This option simply forwards your search terms to the official Qt installer. + Will use current OS as ``host`` (but the ``host`` value passed must still be provided and valid). + Will use target as research term, along with eventual arch, using the following regex: + ``^.*{re.escape(version_str)}\.{re.escape(target_str)}.*$``. + It will list all the arguments ignored. 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 @@ -909,6 +913,13 @@ Example: Install commercial version 6.5.5 of Qt6 on Windows aqt install-qt windows desktop 6.5.5 win64_msvc2019_64 --use-official-installer 'email@gmail.com' 'password' +Example: List commercial packages of Android for version 6.8.3 of Qt6 on current OS + +.. code-block:: console + + aqt list-qt linux android --arch 6.8.3 --use-official-installer 'email@gmail.com' 'password' + + Example: List available versions of Qt on Linux .. code-block:: console