Skip to content

Commit edbd354

Browse files
committed
ci: Fix the macOS and Windows builds
Both failures come from the runner images moving on, not from KDChart. macos-latest no longer ships the AGL framework, which Qt links QtGui against, so the shared build fails with "ld: framework 'AGL' not found" (QTBUG-137687). Qt removed that linkage in 6.9.2, so use 6.9.3. windows-latest is now Visual Studio 2025, whose STL dropped stdext, which Qt 5.15.2 still uses in qvarlengtharray.h. That combination cannot work and Qt 5.15.2 will not be fixed, so build Qt 5 on windows-2022 and keep Qt 6 on windows-latest. The job count is unchanged.
1 parent 73c8cd4 commit edbd354

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
os:
2424
- ubuntu-latest
2525
- windows-latest
26+
- windows-2022
2627
- macos-latest
2728

2829
build_type:
@@ -37,9 +38,21 @@ jobs:
3738
- qt_version: 5.15.2
3839
architectures: "x86_64"
3940

40-
- qt_version: 6.9.0
41+
- qt_version: 6.9.3
4142
architectures: "x86_64;arm64"
4243

44+
exclude:
45+
# Qt 5.15.2 uses stdext::checked_array_iterator, which Visual Studio
46+
# 2025 removed, so it only builds on the older image
47+
- os: windows-latest
48+
config:
49+
qt_version: 5.15.2
50+
architectures: "x86_64"
51+
- os: windows-2022
52+
config:
53+
qt_version: 6.9.3
54+
architectures: "x86_64;arm64"
55+
4356
include:
4457
- os: ubuntu-22.04
4558
build_type: Release

0 commit comments

Comments
 (0)