Skip to content

Latest commit

 

History

History
96 lines (49 loc) · 2.36 KB

cli.rst

File metadata and controls

96 lines (49 loc) · 2.36 KB

Command Line Options

The CLI uses argparse to parse the command line options so the short or long versions may be used and the long options may be truncated to the shortest unambiguous abbreviation.

aqt

list

list available versions (not implemented yet)

help

show generic help

install <Qt version> <target OS> <target variant> <target environment>

install Qt library specified version and target.

Qt version

This is a Qt version such as 5.9,7, 5.12.1 etc

target OS

linux, windows or mac

target variant

desktop or android

target environment

  • gcc_64 for linux desktop
  • clang_64 for mac desktip
  • win64_msvc2019_64, win64_msvc2017_64, win64_msvc2015_64, in32_msvc2015, win32_mingw53 for windows desktop
  • android_x86, android_armv7 for android

--version, -v

Display version

--help, -h

Display help text

--outputdir, -O <Output Directory>

specify output directory.

--base, -b <base url>

specify mirror site base url such as -b 'https://mirrors.ocf.berkeley.edu/qt/' where 'online' folder exist.

--modules, -m <list of modules>

specify extra modules to install as a list.

-m qtcharts qtdatavis3d qtlottie qtnetworkauth qtpurchasing qtquicktimeline qtscript qtvirtualkeyboard qtwebglplugin

--archives <list of archives>

[Advanced] specify subset of archives to limit installed archvies.

src <Qt version> <target OS> <target variant>

install Qt sources specified version and target.

doc <Qt version> <target OS> <target variant>

install Qt documents specified version and target.

examples <Qt version> <target OS> <target variant>

install Qt examples specified version and target.

tools <target OS> <target tool name> <target tool version> <tool variant name>

install tools specified. tool name may be 'tools_openssl_x64', 'tools_ninja', 'tools_ifw', 'tools_cmake' and tool variants name may be 'qt.tools.openssl.gcc_64', 'qt.tools.ninja', 'qt.tools.ifw.32', 'qt.tools.cmake'. You may need to looking for version number at https://download.qt.io/online/qtsdkrepository/