Skip to content

Commit

Permalink
update documentation for --autodesktop flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ddalcino committed Sep 12, 2023
1 parent ed74bf5 commit dcc6924
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions aqt/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,8 +723,9 @@ def _set_install_qt_parser(self, install_qt_parser, *, is_legacy: bool):
install_qt_parser.add_argument(
"--autodesktop",
action="store_true",
help="For Qt6 android, ios, and wasm installations, an additional desktop Qt installation is required. "
"When enabled, this option installs the required desktop version automatically.",
help="For Qt6 android, ios, wasm, and msvc_arm64 installations, an additional desktop Qt installation is "
"required. When enabled, this option installs the required desktop version automatically. "
"It has no effect when the desktop installation is not required.",
)

def _set_install_tool_parser(self, install_tool_parser, *, is_legacy: bool):
Expand Down
4 changes: 2 additions & 2 deletions docs/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,10 @@ There are various combinations to accept according to Qt version.
.. option:: --autodesktop
If you are installing an ios or android version of Qt6, or the WASM version of Qt6,
If you are installing an ios, android, WASM, or msvc_arm64 version of Qt6,
the corresponding desktop version of Qt must be installed alongside of it.
Turn this option on to install it automatically.
This option will have no effect if you are installing Qt5 or a non-WASM desktop version of Qt6.
This option will have no effect if the desktop version of Qt is not required.
.. option:: --noarchives
Expand Down

0 comments on commit dcc6924

Please sign in to comment.