From 96d1ddecedc2c75fa0346ea7018239681420d319 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 30 Nov 2024 22:36:24 +0000 Subject: [PATCH] chore: Set min sdk version to 24 (Android 7). --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f36892861..43b29b2677 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -606,6 +606,11 @@ qt_add_executable(${PROJECT_NAME} WIN32 MACOSX_BUNDLE target_link_libraries( ${PROJECT_NAME} PRIVATE ${PROJECT_NAME}_static ${CMAKE_REQUIRED_LIBRARIES} ${ALL_LIBRARIES}) +set_target_properties( + ${PROJECT_NAME} + PROPERTIES QT_ANDROID_TARGET_SDK_VERSION 24 + QT_ANDROID_MIN_SDK_VERSION 24 + QT_ANDROID_ABIS arm64-v8a) include(Testing) include(Installation)