1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(docs): Add brew prefix to macOS build instructions

Update brew's qt5 to qt@5, following brew naming deprecation.
This commit is contained in:
Anthony Bilinski 2022-02-08 16:37:47 -08:00
parent 8a7461fc16
commit 3c682abc69
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
4 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ build_qtox() {
-DSPELL_CHECK=OFF \
-DSTRICT_OPTIONS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH="$(brew --prefix qt5)" .
-DCMAKE_PREFIX_PATH="$(brew --prefix qt@5)" .
make -j$(sysctl -n hw.ncpu)
export CTEST_OUTPUT_ON_FAILURE=1
ctest -j$(sysctl -n hw.ncpu)

View File

@ -62,7 +62,7 @@ if(APPLE)
endif()
execute_process(
COMMAND brew --prefix qt5
COMMAND brew --prefix qt@5
OUTPUT_VARIABLE QT_PREFIX_PATH
OUTPUT_STRIP_TRAILING_WHITESPACE)

View File

@ -446,7 +446,7 @@ Finally, build qTox.
```bash
mkdir -p _build
cd _build
cmake ..
cmake .. -DCMAKE_PREFIX_PATH=$(brew --prefix qt@5)
make -j$(sysctl -n hw.ncpu)
make install
```

View File

@ -11,7 +11,7 @@ brew "cmake"
brew "ffmpeg"
brew "libexif"
brew "qrencode"
brew "qt5"
brew "qt@5"
brew "sqlcipher"
brew "openal-soft"
brew "msgpack"