Skip to content

Mac build guide: install the Qt that CI uses - #1762

Merged
Gin890 merged 1 commit into
mainfrom
mac-guide-ci-qt
Oct 29, 2026
Merged

Gin890 merged 1 commit into
mainfrom
mac-guide-ci-qt

Conversation

@Gin890

@Gin890 Gin890 commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Homebrew's Qt is a different version, and its macOS qtmultimedia is built with -DQT_FEATURE_ffmpeg=OFF, so Qt falls back to the AVFoundation audio backend. With it the audio tests fail (Qt 6.9 decodes the mp3 fixture to Int16) and the test run can crash in AVFoundation's reader thread.

Install Qt 6.10.2 with qtmultimedia and qtserialport via aqtinstall, the same Qt as the Mac CI jobs (jurplel/install-qt-action), and point CMake at it with CMAKE_PREFIX_PATH. Explain that switching Qt needs a fresh build folder, since CMake caches the Qt it found.

Homebrew's Qt is a different version, and its macOS qtmultimedia is built
with -DQT_FEATURE_ffmpeg=OFF, so Qt falls back to the AVFoundation audio
backend. With it the audio tests fail (Qt 6.9 decodes the mp3 fixture to
Int16) and the test run can crash in AVFoundation's reader thread.

Install Qt 6.10.2 with qtmultimedia and qtserialport via aqtinstall,
the same Qt as the Mac CI jobs (jurplel/install-qt-action), and point
CMake at it with CMAKE_PREFIX_PATH. Explain that switching Qt needs a
fresh build folder, since CMake caches the Qt it found.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gin890
Gin890 merged commit 95c9374 into main Oct 29, 2026
7 checks passed
@Gin890
Gin890 deleted the mac-guide-ci-qt branch October 29, 2026 06:00
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