Skip to content

fix(qt): align self-built Qt with official package and harden Qt workflow - #57

Merged
pfeerick merged 5 commits into
mainfrom
pfeerick/qt-build-fixes
Oct 23, 2026
Merged

pfeerick merged 5 commits into
mainfrom
pfeerick/qt-build-fixes

Conversation

@pfeerick

@pfeerick pfeerick commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Fixes found while reviewing the Qt self-build introduced in #43, ahead of switching the dev image to it (needed for linux/arm64, where the official aqt binaries require glibc 2.38 and won't run on jammy).

Workflow (build-qt.yml)

  • qt-<version> tag is now only published from main; previously PR builds also overwrote the tag the dev image consumes
  • GHA build cache scoped per arch so amd64/arm64 don't evict each other
  • explicit packages: write permission
  • drop semver tag rules that never fire (no tag trigger)
  • bump actions to latest majors (same as on the arm64 dev branch)

qt/Dockerfile

  • build exactly the official aqt linux_gcc_64 module set (qtbase, qtdeclarative, qtsvg, qttools, qttranslations, qtwayland + qtmultimedia, qtserialport) via QT_BUILD_SUBMODULES, rather than everything not explicitly disabled
  • enable qttranslations – Companion bundles qtbase_*.qm / qt_*.qm; these were missing
  • enable Wayland client, GTK3 platform theme, Vulkan and XCB GLX, matching the official build
  • verify the source tarball against the MD5 Qt publishes in md5sums.txt (pinned as QT_MD5, so a Qt bump is a copy-paste)
  • derive the download folder from QT_VERSION instead of hardcoding 6.9; use the archive mirror

Configure was verified locally on arm64 jammy: only the intended 10 submodules, and GTK+, Wayland Client, Vulkan, XCB GLX, FFmpeg, PulseAudio, ICU all yes.

Not addressed here: FFmpeg still links Ubuntu's 4.4 rather than a minimal LGPL 7.1 like the official package – follow-up PR.

🤖 Generated with Claude Code

pfeerick and others added 5 commits October 23, 2026 13:04
Qt 6.9 has been moved out of official_releases, which now 404s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- only publish qt-${QT_VERSION} from main (it was also applied to PR
  builds, overwriting the tag the dev image consumes)
- scope the GHA build cache per arch so amd64/arm64 don't evict each other
- grant packages: write explicitly rather than relying on repo defaults
- drop semver tag rules that never fire (no tag trigger)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- build only the official base module set (qtbase, qtdeclarative, qtsvg,
  qttools, qttranslations, qtwayland) plus qtmultimedia and qtserialport
  via QT_BUILD_SUBMODULES, instead of everything not explicitly disabled
- enable qttranslations (Companion bundles qtbase_*.qm / qt_*.qm)
- enable the Wayland client, GTK3 platform theme, Vulkan and XCB GLX
- verify the source tarball against a pinned SHA-256
- derive the download folder from QT_VERSION instead of hardcoding 6.9

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Qt only publishes MD5 sums, so pin that value directly; bumping Qt is then
a copy from md5sums.txt rather than a locally computed SHA-256.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pfeerick
pfeerick added this pull request to stack #59 October 23, 2026 03:33
@pfeerick
pfeerick merged commit f787f5b into main Oct 23, 2026
7 checks passed
@pfeerick
pfeerick deleted the pfeerick/qt-build-fixes branch October 23, 2026 04:31
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.

1 participant