fix bug qt-cmake
This commit is contained in:
parent
56d6ab2dd5
commit
3c3d4252f2
2 changed files with 7 additions and 3 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
|
@ -310,17 +310,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
xcode-version: '14.3.1'
|
xcode-version: '14.3.1'
|
||||||
|
|
||||||
- name: 'Install Desktop Qt'
|
- name: 'Install desktop Qt'
|
||||||
uses: jurplel/install-qt-action@v3
|
uses: jurplel/install-qt-action@v3
|
||||||
with:
|
with:
|
||||||
version: ${{ env.QT_VERSION }}
|
version: ${{ env.QT_VERSION }}
|
||||||
host: 'mac'
|
host: 'mac'
|
||||||
target: 'desktop'
|
target: 'desktop'
|
||||||
arch: 'clang_64'
|
|
||||||
modules: 'qtremoteobjects qt5compat qtshadertools qtmultimedia'
|
modules: 'qtremoteobjects qt5compat qtshadertools qtmultimedia'
|
||||||
|
arch: 'clang_64'
|
||||||
dir: ${{ runner.temp }}
|
dir: ${{ runner.temp }}
|
||||||
set-env: 'true'
|
set-env: 'true'
|
||||||
extra: '--external 7z --base ${{ env.QT_MIRROR }}'
|
extra: '--base ${{ env.QT_MIRROR }}'
|
||||||
- name: 'Install Qt Installer Framework ${{ env.QIF_VERSION }}'
|
- name: 'Install Qt Installer Framework ${{ env.QIF_VERSION }}'
|
||||||
run: |
|
run: |
|
||||||
mkdir -pv ${{ runner.temp }}/Qt/Tools/QtInstallerFramework
|
mkdir -pv ${{ runner.temp }}/Qt/Tools/QtInstallerFramework
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,10 @@ export QT_MACOS_ROOT_DIR=$HOME/Qt/$QT_VERSION/macos
|
||||||
export QT_MACOS_BIN=$QT_BIN_DIR
|
export QT_MACOS_BIN=$QT_BIN_DIR
|
||||||
export PATH=$PATH:~/go/bin
|
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
|
# Checking env
|
||||||
$QT_BIN_DIR/qt-cmake --version || { echo "Error: qt-cmake not found in $QT_BIN_DIR"; exit 1; }
|
$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; }
|
cmake --version || { echo "Error: cmake not found"; exit 1; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue