Fork of jurplel's wonderful install-qt-action
. Getting started:
- name: Install Qt
uses: jdpurcell/install-qt-action@v5
with:
# your options here
- Supports ARM64 hosts.
- Sets the
QT_HOST_PATH
environment variable forautodesktop
configurations. - Uses aqtinstall
3.2.*
by default which notably fixes WASM/Android support for Qt 6.7+ and also improvesautodesktop
by installing the same modules for both the host and target. - Fixes caching issue caused by outdated
actions/cache
dependency. - Option to use alternate backend naqt which runs via dotnet instead of Python.
This fork retains all options of the original, so you can largely refer to the official documentation. The only noteworthy additions are:
Set to true
to use use naqt as the installer backend. This only applies to the main Qt binaries since naqt
doesn't implement commands to support the tools
, source
, documentation
, or examples
options. Assuming you aren't using any of those, you can also set setup-python
to false
since naqt
doesn't need it.
Default: false
Set to true
to enable the --autodesktop
option when installing Qt. For cross-compilation installations (e.g. WASM, Android, iOS) this will automatically install the corresponding desktop version of Qt. If you don't want the desktop version, or plan to install it separately in a different step, you can disable this.
Default: true