input QT_PATH

This commit is contained in:
Macbook 2024-10-10 17:14:36 +07:00
parent 4287e5aa76
commit 336850624f
2 changed files with 2 additions and 1 deletions

View file

@ -348,6 +348,7 @@ jobs:
run: |
export QT_BIN_DIR="${{ runner.temp }}/Qt/${{ env.QT_VERSION }}/macos/bin"
export QIF_BIN_DIR="${{ runner.temp }}/Qt/Tools/QtInstallerFramework/${{ env.QIF_VERSION }}/bin"
export QT_MACOS_ROOT_DIR="${{ runner.temp }}/Qt/${{ env.QT_VERSION }}/macos"
bash deploy/build_macos_ne.sh
env:
MAC_CERT_PW: ${{ secrets.MAC_CERT_PW }}

View file

@ -53,7 +53,7 @@ echo "Building App..."
mkdir -p build-macos
cd build-macos
$QT_BIN_DIR/qt-cmake .. -GXcode -DQT_HOST_PATH=$QT_PATH -DMACOS_NE=TRUE
$QT_BIN_DIR/qt-cmake .. -GXcode -DQT_HOST_PATH=$QT_MACOS_ROOT_DIR -DMACOS_NE=TRUE
cmake --build . --config release --target all
# Build and run tests here