diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 2494d59e..03b145ac 100755 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -462,7 +462,6 @@ jobs: -D "QT_HOST_PATH=$(readlink -f $Qt6_DIR/../gcc_64)" \ -D "QT_ANDROID_SDK_BUILD_TOOLS_REVISION=30.0.3" \ -D "QT_ANDROID_TARGET_SDK_VERSION=34" \ - -D "QT_ANDROID_MIN_SDK_VERSION=26" \ -D "QT_ANDROID_BUILD_ALL_ABIS=TRUE" \ -D "ANDROID_NDK_ROOT=${ANDROID_SDK_ROOT}/ndk/${{ matrix.config.android_ndk }}" \ -D "ANDROID_SDK_ROOT=${ANDROID_SDK_ROOT}" \ diff --git a/CMakeLists.txt b/CMakeLists.txt index eb0bde4a..1ebacf74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -415,6 +415,7 @@ if (ANDROID) QT_ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_SOURCE_DIR}/android" QT_ANDROID_VERSION_CODE ${VERSION_CODE} QT_ANDROID_VERSION_NAME ${VERSION} + QT_ANDROID_MIN_SDK_VERSION 28 # starting with 6.8 this shouldn't be needed anymore ) if (QT_ANDROID_SDK_BUILD_TOOLS_REVISION) # this has to be set as a target property to stick