added QT_TOOL_CHAIN for ios cmake

This commit is contained in:
Shahzain Ali 2022-12-09 03:38:29 +05:00 committed by GitHub
parent df6b0f3945
commit 6a89a51ea6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -213,10 +213,11 @@ jobs:
- name: 'Build project'
run: |
export QT_BIN_DIR="${{ runner.temp }}/Qt/${{ env.QT_VERSION }}/ios/bin"
export QT_TOOL_CHAIN="${{ runner.temp }}/Qt/${{ env.QT_VERSION }}/ios/lib/cmake/Qt6"
export QT_IOS_BIN=$QT_BIN_DIR
export PATH=$PATH:~/go/bin
mkdir build-ios
$QT_IOS_BIN/qt-cmake . -B build-ios -GXcode
$QT_IOS_BIN/qt-cmake . -B build-ios -GXcode -DCMAKE_TOOLCHAIN_FILE=$QT_TOOL_CHAIN/qt.toolchain.cmake
# ------------------------------------------------------