diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-10-18 16:07:45 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-10-25 14:54:28 +0200 |
commit | 52c799ed4425076df4353c02950ea1444fe5f102 (patch) | |
tree | 750e70289a1b0594e89f2d996dd7fbc7752f7f3b /examples/widgets | |
parent | f3dbe98dca58731ff98dff3cc9111a8252f8e1e6 (diff) |
Android: Add multi-abi support for CMake
The patch adds ANDROID_BUILD_ABI_<abi> CMake options, which when enabled
will determine CMake to build the current project with the enabled ABI
settings.
When building with CMake and the official Android CMake toolchain
one needs to specify the Qt base directory as an argument to
CMAKE_FIND_ROOT_PATH, which contains the Android NDK sysroot
set by the toolchain.
CMake will consider directories that contain this base path as
valid directories to search packages. In the developer build case we
have to append "lib/cmake" because the Qt base directory passed as
CMAKE_FIND_ROOT_PATH will be the same directory as the developer
build base, and will not be considered.
Change-Id: I180502032c8ea1105bde2456252b367497f511d6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'examples/widgets')
0 files changed, 0 insertions, 0 deletions