fix(linux-static-qt6.yml): Fix linux ci error#304
Closed
ZnPdCo wants to merge 3 commits into
Closed
Conversation
The PPA recently added freetype 2.12.1 for focal, which conflicts with Ubuntu 20.04's libfontconfig1-dev after . Ubuntu 20.04 ships cmake 3.16.3 which satisfies the project requirement.
Qt 6.9 requires CMake 3.22+ but Ubuntu 20.04 only ships 3.16.3. Download the official cmake binary to avoid third-party PPA issues.
Static Qt 6.9 was built with brotli support, which requires libbrotli-dev at configure time. Previously pulled in indirectly via PPA apt upgrade, now missing in clean Ubuntu 20.04.
Contributor
Author
|
我身边暂时没有 ubuntu 设备,能否帮忙测试一下是否可以正常运行? |
Member
|
是这个问题吗? |
Contributor
Author
我可能不是很确定,但是似乎只有这个包在昨天改了。 |
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.
2026-05-12 linux 构建 ci 引用的一个 PPA 更新了一个包:https://launchpad.net/~savoury1/+archive/ubuntu/build-tools/+packages?field.name_filter=freetype&field.status_filter=published&field.series_filter=focal
导致 ci 在下载依赖阶段出现错误。引入这个 PPA 的初衷是安装新的 cmake,所以我们改为手动下载较新的 cmake,而不是引入 PPA 的方式。
同时手动下载了
libbrotli-dev,防止Qt6Network找不到。