Skip to content

Commit

Permalink
add -DQT_MAJOR_VERSION=5.
Browse files Browse the repository at this point in the history
  • Loading branch information
thayakawa-gh committed Apr 28, 2023
1 parent 5ce96a5 commit 9a162e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos-qt5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
cd SlackLogViewer
mkdir build
mkdir SlackLogViewer_macos
MACOSX_DEPLOYMENT_TARGET=10.15 cmake -S ./ -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=SlackLogViewer_macos
MACOSX_DEPLOYMENT_TARGET=10.15 cmake -S ./ -B build -DCMAKE_BUILD_TYPE=Release -DQT_MAJOR_VERSION=5 -DCMAKE_INSTALL_PREFIX=SlackLogViewer_macos
cmake --build build --config Release
cmake --install build
tar -c SlackLogViewer_macos/SlackLogViewer.app | xz -6 > SlackLogViewer_macos.tar.xz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-qt5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
cd SlackLogViewer
mkdir build
mkdir SlackLogViewer_windows
cmake -S ./ -B build -G "Visual Studio 16 2019" -DCMAKE_INSTALL_PREFIX="SlackLogViewer_windows" -A x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release -DQT_MAJOR_VERSION=6 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static-md -DOPENSSL_DIR="../openssl"
cmake -S ./ -B build -G "Visual Studio 16 2019" -DCMAKE_INSTALL_PREFIX="SlackLogViewer_windows" -A x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release -DQT_MAJOR_VERSION=5 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static-md -DOPENSSL_DIR="../openssl"
cmake --build build --config Release
cmake --install build
- name: Upload
Expand Down

0 comments on commit 9a162e3

Please sign in to comment.