diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-08-17 10:44:14 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-08-17 18:19:22 +0200 |
commit | a930e657edbc4dcd1437f3f4146a4e46e0ce2d62 (patch) | |
tree | c1fb5e158358bfdd8bc7011df6a54e1da212b53c /src/tools | |
parent | 96dd73c5fecd24dd3ab023c51d0051e28f3bde72 (diff) |
CMake: Fix what Android plugin suffix should be passed as a define
CMAKE_SYSTEM_PROCESSOR has the value i686 when targeting the x86
Android ABI, which is set by the Android CMake toolchain.
This is not the value that Qt expects, and potentially
breaks loading of Qt plugins. The same with aarch64 instead of
arm64-v8a.
In qmake the proper values for QT_ARCH variable are the equivalent of
the ANDROID_ABI variable set by the CMake toolchain file, so use
ANDROID_ABI.
Task-number: QTBUG-85399
Change-Id: Ia2eaceb75168cddb2d28414f1f4bf481ec76f29e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions