Android: Speed up startup by using existing Qt6 Information

This will use the available information from modules/Core.json
and determine the abi version from the "compiler_target" used to build
Qt.

This is only available with Qt6. Qt 6.4 and 6.5 have this information.

Otherwise the "android-clang" qmake mkspec will be parsed and evalauted
to get the Qt ABIs.

Change-Id: Ia0c73f5c87983f44a156b54335dc8b36698c15b2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2023-08-31 18:47:40 +02:00
parent ff274be0b2
commit 16c12f71ff
4 changed files with 48 additions and 11 deletions

View File

@@ -76,4 +76,11 @@ const Utils::Id AndroidAvdPath = "AndroidAvdPath";
const char cmdlineToolsName[] = "cmdline-tools";
const char ndkPackageName[] = "ndk";
// For AndroidQtVersion
const char ArmToolsDisplayName[] = "arm";
const char ArmV7ToolsDisplayName[] = "armv7";
const char X86ToolsDisplayName[] = "i686";
const char AArch64ToolsDisplayName[] = "aarch64";
const char X86_64ToolsDisplayName[] = "x86_64";
} // Android::Constants