summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-03-24 08:18:46 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-03-24 11:16:15 +0000
commitc9af21f9defcc9b3db778f8e42fa0f0a0910b750 (patch)
treeeb545e0d27160bcae31dc9759468f548e43ef4fd /src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
parent2be30c27ace93ef2d31609b8f17cf405a4a568a7 (diff)
downloadqt-creator-c9af21f9defcc9b3db778f8e42fa0f0a0910b750.tar.gz
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>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakekitinformation.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakekitinformation.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
index 0fdf102348..b0ce2c96f5 100644
--- a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
@@ -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)