mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 20:18:53 +03:00
Use qt6 prefix to build macos packages
This commit is contained in:
parent
8259891a42
commit
885168c08f
2 changed files with 5 additions and 5 deletions
|
@ -6,10 +6,10 @@ set -ue
|
|||
#TAG=$(git tag -l --points-at HEAD)
|
||||
|
||||
# Add Qt binaries to path
|
||||
PATH="$(brew --prefix qt5):${PATH}"
|
||||
PATH="$(brew --prefix qt6):${PATH}"
|
||||
export PATH
|
||||
|
||||
CMAKE_PREFIX_PATH="$(brew --prefix qt5)"
|
||||
CMAKE_PREFIX_PATH="$(brew --prefix qt6)"
|
||||
export CMAKE_PREFIX_PATH
|
||||
|
||||
cmake -GNinja -S. -Bbuild \
|
||||
|
@ -28,5 +28,5 @@ cmake --build build
|
|||
make -j 4
|
||||
cp libqtjdenticon.dylib ../nheko.app/Contents/MacOS
|
||||
)
|
||||
"$(brew --prefix qt5)/bin/macdeployqt" nheko.app -always-overwrite -qmldir=../resources/qml/
|
||||
"$(brew --prefix qt6)/bin/macdeployqt" nheko.app -always-overwrite -qmldir=../resources/qml/
|
||||
)
|
||||
|
|
|
@ -6,7 +6,7 @@ set -u
|
|||
# https://forum.qt.io/topic/96652/how-to-notarize-qt-application-on-macos/18
|
||||
|
||||
# Add Qt binaries to path
|
||||
PATH="/usr/local/opt/qt@5/bin/:${PATH}"
|
||||
PATH="/usr/local/opt/qt@6/bin/:${PATH}"
|
||||
export PATH
|
||||
|
||||
security unlock-keychain -p "${RUNNER_USER_PW}" login.keychain
|
||||
|
@ -100,4 +100,4 @@ if [ -n "$VERSION" ]; then
|
|||
mv nheko.dmg "nheko-${VERSION}-${PLAT}.dmg"
|
||||
mkdir -p artifacts
|
||||
cp "nheko-${VERSION}-${PLAT}.dmg" artifacts/
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue