Commit fe95fd3
Fix Qt component discovery by passing QT_ADDITIONAL_PACKAGES_PREFIX_PATH
Qt6Config.cmake hardcodes NO_DEFAULT_PATH when finding Qt components,
so CMAKE_PREFIX_PATH is completely ignored. It only searches its own
cmake dir (from qtbase) and QT_ADDITIONAL_PACKAGES_PREFIX_PATH.
Pass the same Homebrew prefix list as QT_ADDITIONAL_PACKAGES_PREFIX_PATH
so Qt's config machinery can locate qtdeclarative, qtsvg, qtmultimedia,
qtspeech, etc. Build verified locally on arm64.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 461d03c commit fe95fd3
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments