Commit c9af21f9 authored by Eike Ziller's avatar Eike Ziller Committed by Tobias Hunger
Browse files

Kits: Not having a CMake executable set is perfectly valid.



It is the normal situation on Windows & OS X for simple Qt development.

Change-Id: I84453ebcc62200bd6c7223a593b5953c20194069
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 2be30c27
......@@ -101,17 +101,8 @@ QVariant CMakeKitInformation::defaultValue(Kit *) const
QList<Task> CMakeKitInformation::validate(const Kit *k) const
{
CMakeTool *tool = CMakeKitInformation::cmakeTool(k);
QList<Task> result;
if (!tool) {
result.append(Task(Task::Warning,
tr("No CMake tool set."),
Utils::FileName(),
-1,
Core::Id(Constants::TASK_CATEGORY_BUILDSYSTEM)));
}
return result;
Q_UNUSED(k);
return QList<Task>();
}
void CMakeKitInformation::setup(Kit *k)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment