Skip to main content

Another unofficial Qt installer

Project description

https://badge.fury.io/py/aqtinstall.png

OS

Status

MacOS

macos

Ubuntu

ubuntu3

Python2

ubuntu2

Windows

windows

This is an utility replacing the official graphical Qt installer. It can automatically download prebuilt Qt binaries for any target (you’re not bound to Linux binaries on Linux; you could also download iOS binaries). It’s working on Linux, OS X and Windows.

Prerequisite

Dependencies: python, 7z

It is required p7zip for windows, 7zip for mac or p7zip-full for Ubuntu.

Install

Same as usual, it can be installed with pip

$ pip install aqtinstall

Usage

General usage looks like this:

aqtinst [-h][--help] <qt-version> <host> <target> [<arch>]
python -m aqt [-h][--help] <qt-version> <host> <target> [<arch>]
  • The Qt version is formatted like this: 5.11.3

  • Host is one of: linux, mac, windows

  • Target is one of: desktop, android, ios (iOS only works with mac host)

  • For android and windows you also need to specify an arch: win64_msvc2017_64, win64_msvc2015_64, win32_msvc2015, win32_mingw53, android_x86, android_armv7

The Qt packages are installed under current directory as such Qt<ver>/<ver>/gcc_64/ If you want to install it in C:Qt as same as standard gui installer default, run such as follows:

C:\> mkdir Qt
C:\> cd Qt
C:\Qt\> aqtinst 5.11.3 windows win64_msvc2017_64

Example: Installing Qt 5.12.0 for Linux:

pip install aqtinstall
cd /opt
sudo aqtinst 5.12.0 linux desktop

Example: Installing Android (armv7) Qt 5.10.2:

aqtinst 5.10.2 linux android android_armv7

Example: Show help message

aqtinst -h

Supported CI platform

There are no limitation for CI platform but currently it is tested on Azure Pipelines.

History

This program is originally shown in Kaidan project A project aqtinstall extend the original to run with standard python features with Linux, Mac and Windows, to be tested on CI platform, and to improve performance with a concurrent downloading.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

aqtinstall-0.3.1.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

aqtinstall-0.3.1-py2.py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 2 Python 3

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