- Qt 6.9
- Qt Core
- CMake Variables in Qt6 Core
- QT_ANDROID_BUILD_ALL_ABIS
- Qt 6.9.3 Reference Documentation

# QT_ANDROID_BUILD_ALL_ABIS

Enables building multi-ABI packages using the autodetected Qt for Android SDK list.

This variable was introduced in Qt 6.3.

Note: This variable is in technology preview and may change in future releases.

Note: This variable is used only if targeting the Android platform.

Automatically detects available ABIs of Qt for Android and uses them to build a package. The automatic detection expects the default directory structure supplied by the Qt installer, with the corresponding naming of the directories. The supported ABIs are `armeabi-v7a, arm64-v8a, x86, x86_64`. The typical directory structure looks as below:

     /path/to/Qt/6.x.x
         android_armv7
         android_arm64_v8a
         android_x86
         android_x86_64
         ...

The auto-detected paths can be customized using one of `QT_PATH_ANDROID_ABI_<ABI>` variables.

The variable is set to `FALSE` by default.

Note: The multi-ABI project build process does not offer a generic way to forward the CMake cache variables that are specified either in the command line or in another similar way. Use QT_ANDROID_MULTI_ABI_FORWARD_VARS to specify the list of CMake variables to forward from the main ABI project to ABI-specific subprojects.

See also QT_PATH_ANDROID_ABI_<ABI> and QT_ANDROID_MULTI_ABI_FORWARD_VARS.