diff --git a/.ci-scripts/build-osx.sh b/.ci-scripts/build-osx.sh index 5a34f23b3..f78ba048e 100755 --- a/.ci-scripts/build-osx.sh +++ b/.ci-scripts/build-osx.sh @@ -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) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1feb226a8..8405086ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/INSTALL.md b/INSTALL.md index 8a43b523e..fd77f5626 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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 ``` diff --git a/osx/Brewfile b/osx/Brewfile index 878607da9..c69784437 100644 --- a/osx/Brewfile +++ b/osx/Brewfile @@ -11,7 +11,7 @@ brew "cmake" brew "ffmpeg" brew "libexif" brew "qrencode" -brew "qt5" +brew "qt@5" brew "sqlcipher" brew "openal-soft" brew "msgpack"