forked from qt-creator/qt-creator
Android: don't stop deployment if the kit's ABIs list is empty
If for some reason we cannot get the list of kit's ABIs or it's not set, don't stop the deployment because of that, let it continue and fail later. Fixes: QTCREATORBUG-27103 Change-Id: I973e5ffdca1e8fb6af3f6e6438969b38b8e375c8 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -182,7 +182,7 @@ bool AndroidDeployQtStep::init()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!dev->canSupportAbis(selectedAbis)) {
|
||||
if (!selectedAbis.isEmpty() && !dev->canSupportAbis(selectedAbis)) {
|
||||
const QString error = 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