You can configure aqtinstall using a configuration file (INI format). By default, the configuration is stored in aqt/settings.ini.
To use a custom configuration file, you can either:
- Set the
AQT_CONFIG environment variable to the path of your file. - Use the
-c or --config command line option when running aqt.
A sample configuration structure is provided below.
[DEFAULTS]
[aqt]
concurrency: 4
baseurl: https://download.qt.io
7zcmd: 7z
print_stacktrace_on_error: False
always_keep_archives: False
archive_download_location: .
min_module_size: 41
[requests]
connection_timeout: 3.5
response_timeout: 30
max_retries_on_connection_error: 5
retry_backoff: 0.1
max_retries_on_checksum_error: 5
max_retries_to_retrieve_hash: 5
hash_algorithm: sha256
INSECURE_NOT_FOR_PRODUCTION_ignore_hash: False
[mirrors]
trusted_mirrors:
https://download.qt.io
blacklist:
http://mirrors.ustc.edu.cn
http://mirrors.tuna.tsinghua.edu.cn
http://mirrors.geekpie.club
fallbacks:
https://mirrors.ocf.berkeley.edu/qt
https://ftp.jaist.ac.jp/pub/qtproject
https://ftp.nluug.nl/languages/qt
https://mirrors.dotsrc.org/qtproject
[kde_patches]
patches:
0001-toolchain.prf-Use-vswhere-to-obtain-VS-installation-.patch