forked from qt-creator/qt-creator
Android: don't stop deployment if kit's abis list is empty
If the kit's detected abis list is empty for some reason, avoid blocking the deployment process. Fixes: QTCREATORBUG-27103 Change-Id: I9e7b01c123666f087c6d48e56af6e6637e147442 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -235,8 +235,7 @@ bool AndroidDeployQtStep::init()
|
||||
return false;
|
||||
}
|
||||
|
||||
const bool abiListNotEmpty = !selectedAbis.isEmpty() && !dev->supportedAbis().isEmpty();
|
||||
if (abiListNotEmpty && !dev->canSupportAbis(selectedAbis)) {
|
||||
if (!dev->canSupportAbis(selectedAbis)) {
|
||||
const QString error = Tr::tr("The deployment device \"%1\" does not support the "
|
||||
"architectures used by the kit.\n"
|
||||
"The kit supports \"%2\", but the device uses \"%3\".")
|
||||
|
Reference in New Issue
Block a user