Skip to main content

Another unofficial Qt installer

Project description

  • Release: pypi

  • Documentation: docs

  • Test status: gha and Coverage: coveralls

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.

Requirements

  • Minimum Python version:

    3.6

  • Recommended Python version:

    3.9 (frequently tested on)

  • Dependencies:

    requests semantic_version patch py7zr texttable bs4 dataclasses

  • 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

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

History

This program is originally shown in Kaidan project as a name qli-installer. The aqtinstall project extend and improve it.

Project details


Release history Release notifications | RSS feed

This version

2.0.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aqtinstall-2.0.6.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

aqtinstall-2.0.6-py2.py3-none-any.whl (51.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file aqtinstall-2.0.6.tar.gz.

File metadata

  • Download URL: aqtinstall-2.0.6.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for aqtinstall-2.0.6.tar.gz
Algorithm Hash digest
SHA256 10a589a93def1d5b68500639e5930bc33d6bf7ab5c76be36770241b6d3e42273
MD5 b796ee52d06c3901c38d36a4bc3b97f9
BLAKE2b-256 56e6ed481766aa1c152c9e0f2e6154fa546c4c45313e678e3a731f95ab420908

See more details on using hashes here.

File details

Details for the file aqtinstall-2.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: aqtinstall-2.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 51.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for aqtinstall-2.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7aca4e3317db72e51514a5893c7bb30a33980dff1522bcede195109ff4a299bf
MD5 0d329d5fd629b511fcfa6f3affb7689a
BLAKE2b-256 6e04f0e3ed086d5885af15a87b83f028446b79a2b676d4153278f7f59aeba182

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page