Qt setup
- Install qt:
aqt install-qt -O /opt/qt linux desktop 6.9.0
- Register toolchain:
register_toolchains("//bazel/qt:preinstalled-qt-toolchain")
This is the multi-page printable view of this section. Click here to print.
load("@com-alwaldend-git-src//bzl/toolchains:al_drawio_toolchain.bzl", "al_drawio_toolchain") al_drawio_toolchain(name, drawio)
Drawio toolchain
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
drawio | Drawio binary | Label | required |
load("@com-alwaldend-git-src//bzl/toolchains:al_hugo_toolchain.bzl", "al_hugo_toolchain") al_hugo_toolchain(name, hugo)
Hugo toolchain
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
hugo | Hugo binary | Label | required |
load("@com-alwaldend-git-src//bzl/toolchains:al_qt_local_toolchain.bzl", "al_qt_local_toolchain") al_qt_local_toolchain(name, dir, platform, version)
Local qt toolchain
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
dir | Root qt directory | String | required | |
platform | Qt platform | String | required | |
version | Qt version | String | required |
load("@com-alwaldend-git-src//bzl/toolchains:al_qt_resolved_toolchain.bzl", "al_qt_resolved_toolchain") al_qt_resolved_toolchain(name)
Resolved qt toolchain
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required |
load("@com-alwaldend-git-src//bzl/toolchains:al_shellcheck_toolchain.bzl", "al_shellcheck_toolchain") al_shellcheck_toolchain(name, shellcheck)
Shellcheck toolchain
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
shellcheck | Shellcheck binary | Label | required |