qt5base-lts/mkspecs/features/android
Alexandru Croitor b45533161e Android: Fix building apps when Qt is configured with one ABI
When configuring with Qt only with one ABI, certain code paths were
not triggered, which led to a few issues:
- The deployment json file generated by androiddeployqt listed
  no architectures.
- The compiled shared library did not have a lib prefix and arch suffix,
  which androiddeployqt during the deployment / make apk step.

To fix the architectures missing in the json file, ANDROID_ABIS needs
to be set in android/resolve_config.prf also in the single abi case.

To get the correct file names, android.prf needs to apply the prefixes
and suffixes not only in the build_pass case (multi-abi) but also in
the single abi case (except for config.tests).

The application-binary entry in the json file needs to be without the
extra prefixes and suffixes though, so make a copy of the TARGET value
to be used in the json file, before the name manipulations are
applied.

Pick-to: 5.15
Task-number: QTBUG-85399
Change-Id: Idde92ab7fe883636ccc65a87b91c8a3fc72eefbb
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-08-26 01:13:32 +02:00
..
android_deployment_settings.prf Android: Fix building apps when Qt is configured with one ABI 2020-08-26 01:13:32 +02:00
android.prf Android: Fix building apps when Qt is configured with one ABI 2020-08-26 01:13:32 +02:00
default_pre.prf Android: Install the qmldir files when configuring for a single abi 2020-08-03 16:47:31 +02:00
resolve_config.prf Android: Fix building apps when Qt is configured with one ABI 2020-08-26 01:13:32 +02:00
resolve_target.prf don't auto-create install targets for static libs 2017-06-17 06:47:59 +00:00
sdk.prf Raise the Android SDK build requirement to lvl 28 - compile fix 2020-06-23 16:39:04 +02:00
spec_post.prf Fix build with Android NDK's make on Windows 2019-06-28 15:13:34 +02:00