Skip to content

chore(webview): bump frozen Qt 5 toolchain to 5.15.19#3121

Merged
vpetersson merged 2 commits into
masterfrom
chore/qt5-toolchain-5.15.19
Jul 7, 2026
Merged

chore(webview): bump frozen Qt 5 toolchain to 5.15.19#3121
vpetersson merged 2 commits into
masterfrom
chore/qt5-toolchain-5.15.19

Conversation

@vpetersson

Copy link
Copy Markdown
Contributor

Issues Fixed

None — routine maintenance bump of the frozen Qt 5 cross-compile toolchain used by the 32-bit Qt 5 Pi boards (pi2, pi3).

Description

Bumps the pi2/pi3 armhf Qt 5 toolchain from 5.15.14 → 5.15.19 (latest Qt 5.15 LTS patch). Qt 6 boards are untouched (they track trixie apt).

  • Point qt5_toolchain_url at the new WebView-v2026.07.0 release. The rebuilt qt5-5.15.19-trixie-{pi2,pi3}.tar.gz (+ .sha256) are already attached there and verified end-to-end (download SHA matches), so pi2/pi3 image builds won't 404.
  • Fix the box-wide OOMs rebuilding the toolchain on trixie: QtWebEngine's inner Chromium ninja never inherited make -j, flooding the host with ~nproc cc1plus. Pin it with NINJAFLAGS=-j$MAKE_CORES so MAKE_CORES actually bounds the RAM-heavy phase.
  • Trixie build-env drift fixes so 5.15.19 compiles at all: drop libre2-dev (use chromium's vendored re2 — trixie re2 API break), swap gcc/g++-multilib (conflicts crossbuild-essential-armhf) for lib32gcc-14/lib32stdc++-14/libc6-dev-i386, add python3-html5lib (catapult vulcanize step).

Toolchain rebuild driven by bin/rebuild_qt5_toolchain.sh; both boards built clean at MAKE_CORES=2 with the ninja cap.

Checklist

  • I have performed a self-review of my own code.
  • New and existing unit tests pass locally and on CI with my changes. (build-tooling only; no unit-test surface — CI will run)
  • I have done an end-to-end test for Raspberry Pi devices. (toolchain tarballs built + verified; a full pi2/pi3 viewer-image build against the new release is the remaining integrated check)
  • I have tested my changes for x86 devices. (N/A — Qt 5 path is pi2/pi3 only; x86 is Qt 6)
  • I added a documentation for the changes I have made (when necessary).

- Rebuild pi2/pi3 armhf toolchain 5.15.14 -> 5.15.19 (latest 5.15 LTS)
- Point qt5_toolchain_url at the WebView-v2026.07.0 release
- Cap QtWebEngine's inner chromium ninja via NINJAFLAGS=-j$MAKE_CORES
  (make -j alone never bounded it -> box-wide OOMs)
- Drop libre2-dev so chromium uses its vendored re2 (trixie re2 API break)
- Replace gcc/g++-multilib (conflicts crossbuild-essential-armhf) with
  lib32gcc-14/lib32stdc++-14/libc6-dev-i386 for the -m32 V8 snapshot host
- Add python3-html5lib for the catapult about_tracing vulcanize step

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vpetersson vpetersson requested a review from a team as a code owner July 7, 2026 08:03
@vpetersson vpetersson self-assigned this Jul 7, 2026
@vpetersson vpetersson requested a review from Copilot July 7, 2026 08:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Routine maintenance update to the frozen Qt 5 (pi2/pi3 armhf) WebView toolchain, aligning the image build inputs and rebuild tooling with Qt 5.15.19 and Debian trixie build-environment changes.

Changes:

  • Bump the pinned Qt 5 toolchain version/tag for pi2/pi3 builds (5.15.14 → 5.15.19; WebView-v2026.04.1WebView-v2026.07.0).
  • Update the Qt 5 toolchain rebuild container dependencies for trixie (remove libre2-dev, replace multilib packages, add python3-html5lib).
  • Reduce OOM risk during toolchain rebuilds by capping QtWebEngine’s inner ninja parallelism via NINJAFLAGS.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tools/image_builder/utils.py Updates the Qt5 toolchain version and GitHub release URL used by pi2/pi3 viewer builds.
src/anthias_webview/README.md Refreshes documentation to the new Qt5 toolchain release tag and tarball naming.
src/anthias_webview/Dockerfile Adjusts trixie build dependencies (multilib approach, removes libre2-dev, adds python3-html5lib) and updates version references.
src/anthias_webview/build_qt5.sh Bumps Qt patch version and exports NINJAFLAGS to bound Chromium’s ninja parallelism.
bin/rebuild_qt5_toolchain.sh Updates artifact naming/version and adds buildx registry-cache usage + builder selection.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/anthias_webview/README.md
…026.07.0

Addresses Copilot review on #3121: the template's comments still cited
the old WebView-v2026.04.1 tag. The download itself already uses the
{{ qt5_toolchain_url }} / {{ qt_version }} context (verified: pi2 render
resolves qt5-5.15.19-trixie-pi2.tar.gz from the WebView-v2026.07.0
release); this only aligns the surrounding comments.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vpetersson vpetersson requested a review from Copilot July 7, 2026 13:05
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated no new comments.

@vpetersson vpetersson merged commit 036272a into master Jul 7, 2026
10 checks passed
@vpetersson vpetersson deleted the chore/qt5-toolchain-5.15.19 branch July 7, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants