Another Qt installer(aqt)
This is a utility alternative to the official graphical Qt installer, for using in CI environment where an interactive UI is not usable, or just on command line.
It can automatically download prebuilt Qt binaries, documents and sources for target specified, when the versions are on Qt download mirror sites.
License and copyright
This program is distributed under MIT license.
Qt SDK and its related files are under its licenses. When using aqtinstall, you are considered to agree upon Qt licenses. aqtinstall installs Qt SDK as of a (L)GPL Free Software.
For details see Qt Licensing and Licenses used in Qt6
Requirements
- Minimum Python version:
3.9
- Recommended Python version:
3.13 (frequently tested on)
- Dependencies:
requests semantic_version patch py7zr texttable bs4 defusedxml
- Operating Systems:
Linux, macOS, MS Windows
Documentation
There is precise documentation with many examples. You are recommended to read the Getting started section.
Install
Same as usual, it can be installed with pip:
pip install -U pip
pip install aqtinstall
You are recommended to update pip before installing aqtinstall.
It may be difficult to set up some Windows systems with the correct version of Python and all of aqt’s dependencies. To get around this problem, aqtinstall offers aqt.exe, a Windows executable that contains Python and all required dependencies. You may access aqt.exe from the Releases section, under “assets”, or via the persistent link to the continuous build of aqt.exe.
Example
When installing Qt SDK 6.2.0 for Windows.
Check the options that can be used with the list-qt subcommand, and query available architectures:
aqt list-qt windows desktop --arch 6.2.0
Then you may get candidates: win64_mingw81 win64_msvc2019_64 win64_msvc2019_arm64. You can also query the available modules:
aqt list-qt windows desktop --modules 6.2.0 win64_mingw81
When you decide to install Qt SDK version 6.2.0 for mingw v8.1:
aqt install-qt windows desktop 6.2.0 win64_mingw81 -m all
The optional -m all argument installs all the modules available for Qt 6.2.0; you can leave it off if you don’t want those modules.
To install Qt 6.2.0 with the modules ‘qtcharts’ and ‘qtnetworking’, you can use this command (note that the module names are lowercase):
aqt install-qt windows desktop 6.2.0 win64_mingw81 -m qtcharts qtnetworking
When you want to install Qt for android with required desktop toolsets
aqt install-qt linux android 5.13.2 android_armv7 --autodesktop
When aqtinstall downloads and installs packages, it updates package configurations such as prefix directory in bin/qt.conf, and bin/qconfig.pri to make it working well with installed directory.
Testimonies
Some projects utilize aqtinstall, and there are several articles and discussions
GitHub Actions: install_qt
Docker image: docker aqtinstall
Yet another comic reader: YACReader utilize on Azure-Pipelines
Contributor Nelson’s blog article: Fast and lightweight headless Qt Installer from Qt Mirrors - aqtinstall
Lostdomain.org blog: Using Azure DevOps Pipelines with Qt
Wincak’s Weblog: Using Azure CI for cross-platform Linux and Windows Qt application builds
Qt Forum: Automatic installation for Travis CI (or any other CI)
Qt Forum: Qt silent, unattended install
Reddit: Qt Maintenance tool now requires you to enter your company name
Qt Study group presentation: Another Qt CLI installer
History
This program is originally shown in Kaidan project as a name qli-installer. The aqtinstall project extend and improve it.
Metadata
Release files for aqtinstall 3.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aqtinstall-3.3.0.tar.gz | 374.8 kB | With provenance | Details for aqtinstall-3.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aqtinstall-3.3.0-py3-none-any.whl | Python 3 | none | any | Details for aqtinstall-3.3.0-py3-none-any.whl |
Total release size: 446.6 kB
Release files / aqtinstall-3.3.0.tar.gz
| Download URL | aqtinstall-3.3.0.tar.gz |
|---|---|
| Size | 374.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c7d85fbe7258be2d7d23fda33f8aff2e8b7536817255eaeaaf4226da8546a31
|
|
BLAKE2b-256 checksum How to use checksums |
761924a588de6c25d43169d172dab47e63a63cd0d8f90e98cf86487acbf00ac7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2025.
Transparency logRelease files / aqtinstall-3.3.0-py3-none-any.whl
| Download URL | aqtinstall-3.3.0-py3-none-any.whl |
|---|---|
| Size | 71.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e88dbd87226f276fdd5d05347a44578d390d93a7f176e9476fbda0a7c9635f69
|
|
BLAKE2b-256 checksum How to use checksums |
7f70849fa1005fa197fc28a744fd69598ab9da883b737a1ab9461d88721ddd0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2025.
Transparency logSecurity for aqtinstall 3.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for aqtinstall-3.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.