diff options
| author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2022-09-30 12:57:10 +0300 |
|---|---|---|
| committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2022-10-21 05:33:30 +0300 |
| commit | 466a03e724aa39f7c57010cc2263adb06976ea50 (patch) | |
| tree | 0361e5d4ae4e7fc3654f083065af1f6181b7b96a /src/concurrent/qtconcurrentreducekernel.h | |
| parent | d60aa6a8cf8b020c2ae8e6a8bb45311acce8cab9 (diff) | |
Android: fix Gradle warning about using enableUncompressedNativeLibs
The warning is as follows:
WARNING:The option setting
'android.bundle.enableUncompressedNativeLibs=false' is deprecated.
The current default is 'true'.
It will be removed in version 8.0 of the Android Gradle plugin.
You can add the following to your build.gradle instead:
android {
packagingOptions {
jniLibs {
useLegacyPackaging = true
}
}
}
We already define that property in build.gradle, but we also need to
account for cases where an old build.gradle file that doesn't have that
property is used. So androiddeployqt checks if useLegacyPackaging is set
(and not commented out) whether it's true or false, if it's set to true,
then that's what Qt wants to set, and if it's set to false, then we
assume the user setting it to false is explicit and we don't want to
change that.
Pick-to: 6.4 6.2 5.15
Fixes: QTBUG-106713
Change-Id: I566232207c458daa4484623beee670c6c6679313
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentreducekernel.h')
0 files changed, 0 insertions, 0 deletions
