• Stars
    star
    903
  • Rank 50,580 (Top 1.0 %)
  • Language
    Python
  • License
    MIT License
  • Created over 5 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

aqt: Another (unofficial) Qt CLI Installer on multi-platforms

Another Qt installer(aqt)

  • Release: pypi
  • Documentation: docs
  • Test status: gha and Coverage: coveralls
  • Project maturity 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.

Note

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.

Warning

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 Qt5

Requirements

  • Minimum Python version:
    3.7
  • Recommended Python version:
    3.9 (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.

Note

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

Note

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

Warning

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:

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.

Note

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.

Warning

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

History

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

More Repositories

1

py7zr

7zip in python3 with ZStandard, PPMd, LZMA2, LZMA1, Delta, BCJ, BZip2, and Deflate compressions, and AES encryption.
Python
444
star
2

pykakasi

Lightweight converter from Japanese Kana-kanji sentences into Kana-Roman.
Python
382
star
3

unihandecode

unihandecode is a transliteration library to convert all characters/words in Unicode into ASCII alphabet that aware with Language preference priorities
Python
70
star
4

cmake-qt-packaging-example

CMake example to build pacakges for Qt GUI cross platform application in several format.
CMake
37
star
5

omegat-textra-plugin

OmegaT plugin to use TexTra(R) powered by NICT
Java
27
star
6

cmake-optimize-architecture-flag

CMake module to optimize cflags for architecture extensions such as SSE, AVX
CMake
26
star
7

nevernote

New nixnote is cloned on miurahr/nixnote2 ... Nixnote (formaly nevernote) is imcomplete evernote OSS cilent. here is a development branch by Hiroshi and NOT a offical one. please see below.
Java
19
star
8

lua-nginx-osm

OpenStreetMap extension for Nginx Lua module
Lua
16
star
9

bluegnss4osm

The project was suspended. It support Bluetooth GNSS(GPS, GLONASS, Galireo, Beidu, QZSS) reciever on Android for OpenStreetMap mappers.Very aggressive fork of bluegps4droid project(git://git.code.sf.net/p/bluegps4droid/git) )
Java
9
star
10

install-linuxdeploy-action

github action to run linuxdeploy
TypeScript
8
star
11

omegat-round-theme

Round theme plugin for OmegaT
Java
8
star
12

cmake4gdal

CMake scripts for gdal developers, who can use modern IDEs such as CLion, VS, VSCode and XCode
CMake
8
star
13

pyppmd

pyppmd provides classes and functions for compressing and decompressing text data, using PPM (Prediction by partial matching) compression algorithm variation H and I.2. It provide an API similar to Python's zlib/bz2/lzma modules.
C
8
star
14

multivolume

multi volume file wrapper
Python
7
star
15

tmpotter

TMPotter - source and translation text aligner/TMX converter for Computer Aided Translation
Java
6
star
16

ppmd-cffi

ppmd-cffi provides classes and functions for compressing and decompressing text data, using PPM (Prediction by partial matching) compression algorithm variation H and I.2 by CFFI python/C binding.
C
5
star
17

omegat-stat

JavaScript
4
star
18

lightspot

Abandoned: Logitech spotlight smart bluetooth preesnter driver for Linux/*BSD
C
4
star
19

omegat-plugin-epwing

EPWING dictionray plugin for the open-source translation tool OmegaT.
3
star
20

sane-backends

epjitsu driver improvement to support additional parameters, to fix padding problems and to support new S1100 device.
C
3
star
21

Ushahidi_plugin_kml

Ushahidi's KML plugin
PHP
3
star
22

vgabios

C
3
star
23

pdic-toolkit

PDIC-Toolkit: Perl library for converting PDIC files
Perl
3
star
24

librasterlite2

(not maintained) mirror of librasterlite2 and topic branches to implement cmake build
C
2
star
25

qemu-kvm

development branch of qemu-kvm from git.kernel.org
C
2
star
26

omegat-for-cat-beginners

OmegaT tutorial for beginner
2
star
27

OpenBoard-AppImage

AppImage build and release of OpenBoard-org/OpenBoard
2
star
28

qgolftracker

qGolfTracker development branch to utilize OpenStreetMap: original http://gitorious.org/qgolftracker
C++
2
star
29

ModemManager

ModemManager hack for Japanese Modems
C
2
star
30

java-odapiv2-client

Java client library for Oxford Dictionaries API v2
Java
1
star
31

kde-qt-patch

1
star
32

map_features_converter

Java
1
star
33

keyring-export

Java
1
star
34

diff-java

Clone and improvements
Java
1
star
35

docker-hubot

hubot on docker
Shell
1
star
36

packer-rbenv

Packer recipe for rbenv base template
Shell
1
star
37

da-cha-drupal

PHP
1
star
38

seabios

fork of SeaBIOS project http://seabios.org
C
1
star
39

vagrant-calibre-ubuntu-package

Vagrantfile to compile Calibre 2.0 on Ubuntu Precise 12.04LTS on AWS
1
star
40

translate-django-ja

OmegaT translation project for django projects in Japanese
1
star
41

pybcj

BCJ(Branch-Call-Jump) filter for python
1
star
42

gnuhealth-vagrant-aws

Vagrant recipe for GNU Health working on AWS
Ruby
1
star
43

nginx-resty-ppa

Private Nginx debian package repositories - distributed as PPA at https://launchpad.net/~miurahr/+archive/openresty
C
1
star
44

omegat-adaptive-theme

DarkLaf theme plugin for OmegaT
Java
1
star
45

omegat-mdict

MDict dictionary plugin for OmegaT
Java
1
star
46

jlaw-tmx

Generation an OmegaT TMX file from Japanese Law Translation data from http://www.japaneselawtranslation.go.jp/
Ruby
1
star
47

docker-rbenv-base

Shell
1
star
48

gdal_docs_ja

GDAL documentation JA translation team project with OmegaT
1
star
49

omegat-onlinedictionary

Online dictionary query API for OmegaT CAT tool
Java
1
star
50

fgdconv

基盤地図情報(FGD: Fundermental Geographic Data) を変換するコンバータ このリポジトリではgit LFSを使っていますので、テストに必要なバイナリファイルをクローンしない場合は GIT_LFS_SKIP_SMUDGE=1 git cloneとしてください。
Python
1
star
51

bench-hash-performance

Code example of hashlib, memoryview, and ctypes
Python
1
star
52

libreoffice-build-ubuntu-vagrant

Provide libreoffice building environment using Vagrant
Shell
1
star
53

picast

https://codeberg.org/miurahr/picast
1
star
54

pdic-fpw

PDIC形式の辞書をFreePWINGを利用してJIS X 4081形式に変換するツール (fork)
Perl
1
star
55

cmake-define-find-package

Utility script to define Find* functionality without adding Find*.cmake in your project
CMake
1
star