Open BenCrafterRED opened 2 weeks ago
Looks like the Qt maintainers changed the directory structure, again.
Incomplete listing of directories at https://download.qt.io/online/qtsdkrepository/linux_x64/android/:
Currently, the following code splits up the folder name on _
, and the string of digits following qt5
or qt6
is interpreted as the version of Qt. So, 51212
gets split up into 5.12.12
and 600
gets split up into 6.0.0
. However, qt6_7_3
gets mangled, because aqt thinks that 7
is the whole version string, when it actually refers to version 6.7.3
.
Also see get_semantic_version_string
here: https://github.com/miurahr/aqtinstall/blob/73fc45e12a0a8e2e417fee12b6813b6a82dc9324/aqt/metadata.py#L172-L197
Please also note that this means it is currently impossible to install Qt 6.7.* for Android without using the all_os
directory, because the installer won't be able to find these folders either.
Bug description
Run
aqt list-qt <TARGET> android
. Where<TARGET>
is one oflinux
,mac
,windows
.The command crashes without any useful information provided to the user. Other list-* commands seem to work.
Tested in virtual environment and system-wide pip install which both result in the same behavior.
Expected behavior
A list of Qt versions.
aqt and python version
aqtinstall(aqt) v3.1.18 on Python 3.12.3 [CPython GCC 13.2.0]
Operating System
Linux/Unix
Relevant log output
Code of Conduct