forked from qt-creator/qt-creator
Android: don't fail if device abi list is empty
If for some reason the device abi list is empty, don't stop the
deployment, let it continue and potentially fail later.
Amends c1512dce87
.
Task-number: QTCREATORBUG-27103
Change-Id: I484fbd1ddb365d5e96686eebc3ba76032684e506
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -182,7 +182,8 @@ bool AndroidDeployQtStep::init()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!selectedAbis.isEmpty() && !dev->canSupportAbis(selectedAbis)) {
|
const bool abiListNotEmpty = !selectedAbis.isEmpty() && !dev->supportedAbis().isEmpty();
|
||||||
|
if (abiListNotEmpty && !dev->canSupportAbis(selectedAbis)) {
|
||||||
const QString error = tr("The deployment device \"%1\" does not support the "
|
const QString error = tr("The deployment device \"%1\" does not support the "
|
||||||
"architectures used by the kit.\n"
|
"architectures used by the kit.\n"
|
||||||
"The kit supports \"%2\", but the device uses \"%3\".")
|
"The kit supports \"%2\", but the device uses \"%3\".")
|
||||||
|
Reference in New Issue
Block a user