forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
71b5d84122
commit
c64374b7c7
@@ -190,7 +190,8 @@ QList<Task> 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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user