Skip to content

Commit

Permalink
Fix the CI build for macOS
Browse files Browse the repository at this point in the history
The homebrew formula for qt5 was renamed to qt@5
  • Loading branch information
cameronwhite committed Feb 25, 2024
1 parent 9e2fdff commit 96550b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -46,7 +46,7 @@ jobs:
# CMake 3.17 is already installed
run: brew install boost doctest minizip ninja nlohmann-json pugixml qt5 pugixml rtmidi
- name: Generate Project
run: cmake -S ${GITHUB_WORKSPACE} -B ${{runner.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake
run: cmake -S ${GITHUB_WORKSPACE} -B ${{runner.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/local/opt/qt@5/lib/cmake
- name: Build
run: cmake --build ${{runner.workspace}}/build
- name: Test
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -117,10 +117,10 @@ Power Tab Editor 2.0 - A powerful cross platform guitar tablature viewer and edi
#### OS X:
* Install Xcode along with its Command Line Tools.
* Install dependencies:
* `brew install boost cmake doctest minizip ninja nlohmann-json pugixml qt5 pugixml rtmidi`
* `brew install boost cmake doctest minizip ninja nlohmann-json pugixml qt@5 pugixml rtmidi`
* Build:
* `mkdir build && cd build`
* `cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake ..`
* `cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/usr/local/opt/qt@5/lib/cmake ..`
* To generate an Xcode project, switch to `-G Xcode` and then open and build `build/powertabeditor.xcodeproj`
* `ninja`
* Run:
Expand Down

0 comments on commit 96550b3

Please sign in to comment.