Clarify a Point for Building Locally on Apple Silicon
On Apple Silicon, Homebrew is installed under `/opt/homebrew` instead of `/usr/local`, so I made a minor change clarifying this. Change-Id: Ifccb51325339f80f8ed3c2a4f8acab485686af7e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
c849c48d19
commit
d159767318
@ -48,7 +48,9 @@ You may use brew to install dependencies needed to build QtBase.
|
||||
`/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
|
||||
* Build Qt dependencies: ``brew install pcre2 harfbuzz freetype``
|
||||
* Install cmake: ``brew install cmake``
|
||||
* When running cmake in qtbase, pass ``-DCMAKE_PREFIX_PATH=/usr/local``
|
||||
* When running cmake in qtbase, pass ``-DFEATURE_pkg_config=ON`` together with
|
||||
``-DCMAKE_PREFIX_PATH=/usr/local``, or ``-DCMAKE_PREFIX_PATH=/opt/homebrew`` if you have a Mac
|
||||
with Apple Silicon.
|
||||
|
||||
# Building
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user