forked from qt-creator/qt-creator
Fix issue with deploy step not getting valid abi with CMake
With CMake, it seems that the abi was being empty string because looking for ANDROID_ABIS is not defined and instead there's ANDROID_ABI. Also make sure to handle the case of ANDROID_ABIS, which might be declared in future versions like Qt 6.3 which can support multi-abi builds. Change-Id: I805c5c25409a4e20a237b8747082d256bd72e275 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -143,6 +143,9 @@ QVariant CMakeTargetNode::data(Utils::Id role) const
|
||||
if (role == Android::Constants::AndroidArch)
|
||||
return value(Android::Constants::ANDROID_ABI);
|
||||
|
||||
if (role == Android::Constants::ANDROID_ABIS)
|
||||
return value(Android::Constants::ANDROID_ABIS);
|
||||
|
||||
if (role == Android::Constants::AndroidSoLibPath)
|
||||
return values(Android::Constants::ANDROID_SO_LIBS_PATHS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user