---
title: "aqtinstall | pypx"
description: "Another unofficial Qt installer"
canonical_url: "https://pypx.app/packages/aqtinstall"
meta:
  "og:description": "Another unofficial Qt installer"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_aqtinstall%2Cversion_3.3.0%2Csummary_Another%2Bunofficial%2BQt%2Binstaller%2Clicense_MIT%2BLicense%2Cp_Ii9wYWNrYWdlcy9hcXRpbnN0YWxsIg%2Cs_fbiky5leLNjVPMYG.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "aqtinstall 3.3.0"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_aqtinstall%2Cversion_3.3.0%2Csummary_Another%2Bunofficial%2BQt%2Binstaller%2Clicense_MIT%2BLicense%2Cp_Ii9wYWNrYWdlcy9hcXRpbnN0YWxsIg%2Cs_fbiky5leLNjVPMYG.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **aqtinstall**

v3.3.0

Another unofficial Qt installer

70 KB Python 3.9+ py3-none-anyMIT License8 deps

[**Diff **](https://pypx.app/packages/aqtinstall/diff)

`$ uv add aqtinstall`

# Another Qt installer(aqt)

- Release:
- Documentation:
- Test status:  and Coverage:
- Code Quality:
- Project maturity [![aqtinstall](https://snyk.io/advisor/python/aqtinstall/badge.svg)](https://snyk.io/advisor/python/aqtinstall)

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.

Because it is an installer utility, it can download from Qt distribution site and its mirror. The site is operated by The Qt Company who may remove versions you may want to use that become end of support. Please don't blame us.

This is NOT franchised with The Qt Company and The Qt Project. Please don't ask them about aqtinstall.

## 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.

- Getting started: https://aqtinstall.readthedocs.io/en/latest/getting\_started.html
- Stable: https://aqtinstall.readthedocs.io/en/stable
- Latest: https://aqtinstall.readthedocs.io/en/latest

## Install

Same as usual, it can be installed with pip:

```console
pip install -U pip
pip install aqtinstall
```

You are recommended to update pip before installing aqtinstall.

aqtinstall depends several packages, that is required to download files from internet, and extract 7zip archives, some of which are precompiled in several platforms. Older pip does not handle it expectedly(see #230).

When you want to use it on MSYS2/Mingw64 environment, you need to set environmental variable export SETUPTOOLS\_USE\_DISTUTILS=stdlib, because of setuptools package on mingw wrongly raise error VC6.0 is not supported

There is an unrelated package `aqt` in pypi. Please don't confuse with it.

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:

```console
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:

```console
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:

```console
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):

```console
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

```console
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.

It is your own task to set some environment variables to fit your platform, such as PATH, QT\_PLUGIN\_PATH, QML\_IMPORT\_PATH, and QML2\_IMPORT\_PATH. aqtinstall will never do it for you, in order not to break the installation of multiple versions.

If you are using aqtinstall to install the ios version of Qt, please be aware that there are compatibility issues between XCode 13+ and versions of Qt less than 6.2.4. You may use aqtinstall to install older versions of Qt for ios, but the developers of aqtinstall cannot guarantee that older versions will work on the most recent versions of MacOS. Aqtinstall is tested for ios on MacOS 12 with Qt 6.2.4 and greater. All earlier versions of Qt are expected not to function.

## 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.

## **Details **

<dl>

<dt>Version</dt>
<dd>3.3.0</dd>

<dt>License</dt>
<dd>MIT License</dd>

<dt>Python</dt>
<dd>&gt;=3.9</dd>

<dt>Maintainer</dt>
<dd>Hiroshi Miura &lt;miurahr@linux.com&gt;</dd></dl>

## **Links**

- [Bug Tracker](https://github.com/miurahr/aqtinstall/issues)
- [Changelog](https://aqtinstall.readthedocs.io/en/latest/CHANGELOG.html)
- [Documentation](https://aqtinstall.readthedocs.io/)
- [Source](https://github.com/miurahr/aqtinstall)
- [Wiki](https://github.com/miurahr/aqtinstall/wiki)
- [View on PyPI](https://pypi.org/project/aqtinstall/)

## **Maintainers **

- Hiroshi Miura · [miurahr@linux.com](mailto:miurahr@linux.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/aqtinstall#webpage","@type":"WebPage","description":"Another unofficial Qt installer","name":"aqtinstall","url":"https://pypx.app/packages/aqtinstall","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/aqtinstall"]}]},{"@id":"https://pypx.app/packages/aqtinstall#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Another unofficial Qt installer","license":"MIT License","name":"aqtinstall","softwareVersion":"3.3.0"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
