diff --git a/.github/workflows/builds_mobile_cmake.yml b/.github/workflows/builds_mobile_cmake.yml index 37d524d..5860ba0 100644 --- a/.github/workflows/builds_mobile_cmake.yml +++ b/.github/workflows/builds_mobile_cmake.yml @@ -128,7 +128,7 @@ jobs: # Build application - name: Build application run: | - echo "QT_HOST_PATH=${{env.QT_HOST_PATH}}" + export QT_HOST_PATH=${{env.QT_HOST_PATH}} qt-cmake -B build/ -G Xcode \ -DQT_HOST_PATH=${{env.QT_HOST_PATH}} \ -DCMAKE_SYSTEM_NAME=iOS \ diff --git a/CMakeLists.txt b/CMakeLists.txt index 45086c7..3ae5c63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,8 @@ endif() ## iOS if(IOS) + set(IPHONEOS_DEPLOYMENT_TARGET "12.0") + target_link_libraries(QmlAppTemplate PRIVATE Qt::GuiPrivate "-framework UIKit"