From c64374b7c730d73986011fcb59b3efe1f22c7aaf Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 13 Sep 2017 15:56:11 +0300 Subject: [PATCH] ProjectExplorer: List abis on mismatch Change-Id: I90266c7d8b200b0b99937d4b5ae9f427117aff2c Reviewed-by: Leena Miettinen Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/kitinformation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/kitinformation.cpp b/src/plugins/projectexplorer/kitinformation.cpp index 09a46646ee0..34578f64b82 100644 --- a/src/plugins/projectexplorer/kitinformation.cpp +++ b/src/plugins/projectexplorer/kitinformation.cpp @@ -190,7 +190,8 @@ QList ToolChainKitInformation::validate(const Kit *k) const result << tc->validateKit(k); } 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)); } }