Fix binary stripping in APKs with Qt 5.15.10
This brings APK sizes back to what they used to be, instead of the 3x-5x bloated version binary factory produces since the 5.15.10 update.
This commit is contained in:
parent
a7a8f76244
commit
9ecbc599f4
@ -20,6 +20,9 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
set(KF_MIN_VERSION "5.102.0")
|
||||
set(QT_MIN_VERSION "5.15.2")
|
||||
if (ANDROID)
|
||||
set(QT_MIN_VERSION 5.15.10) # due to 5.15.10 changing NDK versioning
|
||||
endif()
|
||||
|
||||
find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)
|
||||
|
||||
|
@ -48,6 +48,7 @@ android {
|
||||
compileSdkVersion androidCompileSdkVersion.toInteger()
|
||||
|
||||
buildToolsVersion androidBuildToolsVersion
|
||||
ndkVersion androidNdkVersion
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
|
Loading…
x
Reference in New Issue
Block a user