From 49be98662d85d32be41104915f310c65856ca834 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Sat, 8 Jul 2023 07:51:24 +0200 Subject: [PATCH] Fix binary stripping of APKs with Qt 5.15.10 This fixes APKs on binary factory having exploded in size 3x-5x after the Qt 5.15.10 update. This also affects release packages and will need to be backported to those (in Craft). --- CMakeLists.txt | 2 +- android/build.gradle | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e9cc5430..4fc2db0fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ project(NeoChat VERSION ${RELEASE_SERVICE_VERSION}) set(KF_MIN_VERSION "5.91.0") set(QT_MIN_VERSION "5.15.2") if (ANDROID) - set(QT_MIN_VERSION "5.15.8") + set(QT_MIN_VERSION "5.15.10") endif() find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE) diff --git a/android/build.gradle b/android/build.gradle index 0ed40bf59..6298a3da1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -47,6 +47,7 @@ android { compileSdkVersion androidCompileSdkVersion.toInteger() buildToolsVersion androidBuildToolsVersion + ndkVersion androidNdkVersion sourceSets { main {