qt5base-lts/mkspecs/features/android
Fab Stz 979a21dc4e Add support for MultiABI with custom install dir of the android-build
Right now, "multi abi builds" of android projects works only if the
android-build installation doesn't use custom install dirs
(INSTALL_PREFIX, INSTALL_BINDIR...)

At the same time, it fixes QTBUG-106533. The patches are the same as the
ones in that bugreport.

Add new items to android-*-deployment-settings.json:

    qtDataDirectory
    qtLibsDirectory
    qtLibExecsDirectory
    qtPluginsDirectory
    qtQmlDirectory

Update androiddeployqt to be able to get files from their install location

BTW (fixes QTBUG-106533):
    Install src/android/templates into INSTALL_DATADIR
    Install src/3rdparty/gradle into INSTALL_DATADIR
    Install src/android/java files into INSTALL_DATADIR
    Install all jars into INSTALL_DATADIR

Add missing path to target_qt.conf
    Update target_qt.conf to have all path. Otherwise qmake wouldn't have
    the path when installing the android-build with custom install dirs
    like INSTALL_LIBDIR & friends

Add support for a new cmake variable that can be set at build time of the
android projects: QT_ANDROID_PATH_CMAKE_DIR_${abi} (Name chosen as
brother of QT_HOST_PATH_CMAKE_DIR)

Pick-to: 6.5
Fixes: QTBUG-106533
Fixes: QTBUG-107207
Change-Id: Ia3751362ab1b5f877ecafbe02f263feac167119c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-01-30 14:08:14 +01:00
..
android_deployment_settings.prf Add support for MultiABI with custom install dir of the android-build 2023-01-30 14:08:14 +01:00
android.prf android:qmake: Fix static libraries to include the QT_ARCH suffix 2021-12-02 20:29:58 +01:00
default_pre.prf Remove QMAKE_RANLIB and QMAKE_LINK_SHLIB from android/default_pre.prf 2022-12-01 02:23:52 +01: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 Android: bump minimum sdk build version QT_ANDROID_API_VERSION to 33 2023-01-23 15:39:16 +00:00
spec_post.prf Fix build with Android NDK's make on Windows 2019-06-28 15:13:34 +02:00