Repository navigation
fix(qt): align self-built Qt with official package and harden Qt workflow - #57
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 frommain; previously PR builds also overwrote the tag the dev image consumespackages: writepermissionqt/Dockerfilelinux_gcc_64module set (qtbase, qtdeclarative, qtsvg, qttools, qttranslations, qtwayland + qtmultimedia, qtserialport) viaQT_BUILD_SUBMODULES, rather than everything not explicitly disabledqtbase_*.qm/qt_*.qm; these were missingmd5sums.txt(pinned asQT_MD5, so a Qt bump is a copy-paste)QT_VERSIONinstead of hardcoding6.9; use the archive mirrorConfigure 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