forked from qt-creator/qt-creator
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: Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Tobias Hunger
parent
2be30c27ac
commit
c9af21f9de
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user