Skip to content

docs: use brew --prefix for macOS CMake Qt path#1334

Open
drnic wants to merge 2 commits into
ArduPilot:masterfrom
drnic:readme-cmake-brew-prefix
Open

docs: use brew --prefix for macOS CMake Qt path#1334
drnic wants to merge 2 commits into
ArduPilot:masterfrom
drnic:readme-cmake-brew-prefix

Conversation

@drnic

@drnic drnic commented Jun 29, 2026

Copy link
Copy Markdown

Updates the macOS CMake build instructions in the README to resolve the Qt path dynamically via Homebrew instead of hardcoding a version-specific Cellar path.

cmake -G Ninja .. -DCMAKE_PREFIX_PATH="$(brew --prefix qt@5);$(brew --prefix)"

Also adds missing instructions to build and open app.

drnic added 2 commits June 30, 2026 08:31
Replace the hardcoded Qt 5.15.16_2 Cellar path in the macOS CMake
build instructions with $(brew --prefix qt@5) and $(brew --prefix)
so the command resolves the correct paths automatically across Qt
updates and on both Apple Silicon and Intel Macs. Also drops the
duplicated 'cmake cmake' typo.
Add ninja build invocation and instructions to launch the resulting
apmplanner2.app bundle from the build directory.
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