ProjectExplorer: List abis on mismatch

Change-Id: I90266c7d8b200b0b99937d4b5ae9f427117aff2c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2017-09-13 15:56:11 +03:00
committed by Orgad Shaneh
parent 71b5d84122
commit c64374b7c7

View File

@@ -190,7 +190,8 @@ QList<Task> ToolChainKitInformation::validate(const Kit *k) const
result << tc->validateKit(k); result << tc->validateKit(k);
} }
if (targetAbis.count() != 1) { if (targetAbis.count() != 1) {
result << Task(Task::Error, tr("Compilers produce code for different ABIs."), result << Task(Task::Error, tr("Compilers produce code for different ABIs: %1")
.arg(Utils::transform(targetAbis, &Abi::toString).toList().join(", ")),
Utils::FileName(), -1, Core::Id(Constants::TASK_CATEGORY_BUILDSYSTEM)); Utils::FileName(), -1, Core::Id(Constants::TASK_CATEGORY_BUILDSYSTEM));
} }
} }