This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Bazel rules

Qt setup

  • Install qt: aqt install-qt -O /opt/qt linux desktop 6.9.0
  • Register toolchain: register_toolchains("//bazel/qt:preinstalled-qt-toolchain")

1 - al_drawio_toolchain

al_drawio_toolchain

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

2 - al_hugo_toolchain

al_hugo_toolchain

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

3 - al_qt_local_toolchain

al_qt_local_toolchain

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

4 - al_qt_resolved_toolchain

al_qt_resolved_toolchain

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

5 - al_shellcheck_toolchain

al_shellcheck_toolchain

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