fix bug qt-cmake

This commit is contained in:
Macbook 2024-10-09 23:04:00 +07:00
parent 56d6ab2dd5
commit 3c3d4252f2
2 changed files with 7 additions and 3 deletions

View file

@ -310,17 +310,17 @@ jobs:
with:
xcode-version: '14.3.1'
- name: 'Install Desktop Qt'
- name: 'Install desktop Qt'
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
host: 'mac'
target: 'desktop'
arch: 'clang_64'
modules: 'qtremoteobjects qt5compat qtshadertools qtmultimedia'
arch: 'clang_64'
dir: ${{ runner.temp }}
set-env: 'true'
extra: '--external 7z --base ${{ env.QT_MIRROR }}'
extra: '--base ${{ env.QT_MIRROR }}'
- name: 'Install Qt Installer Framework ${{ env.QIF_VERSION }}'
run: |
mkdir -pv ${{ runner.temp }}/Qt/Tools/QtInstallerFramework

View file

@ -63,6 +63,10 @@ export QT_MACOS_ROOT_DIR=$HOME/Qt/$QT_VERSION/macos
export QT_MACOS_BIN=$QT_BIN_DIR
export PATH=$PATH:~/go/bin
# Show the content of QT_BIN_DIR
echo "Listing contents of QT_BIN_DIR:"
ls -la $QT_BIN_DIR || { echo "Error: Cannot access $QT_BIN_DIR"; exit 1; }
# Checking env
$QT_BIN_DIR/qt-cmake --version || { echo "Error: qt-cmake not found in $QT_BIN_DIR"; exit 1; }
cmake --version || { echo "Error: cmake not found"; exit 1; }