CMake: Remove cmake autodetectionhelpers

No user in-tree and the Ubuntu SDK for which this code was added
is no more.

Change-Id: I5b0c5f6faccf1adb451c4043378a204bfc350e50
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Tobias Hunger
2018-06-27 13:27:01 +02:00
parent b10ada3aff
commit 8128d89a0b
2 changed files with 0 additions and 13 deletions

View File

@@ -54,7 +54,6 @@ public:
Id m_defaultCMake;
QList<CMakeTool *> m_cmakeTools;
PersistentSettingsWriter *m_writer = nullptr;
QList<CMakeToolManager::AutodetectionHelper> m_autoDetectionHelpers;
};
static CMakeToolManagerPrivate *d = nullptr;
@@ -180,10 +179,6 @@ static QList<CMakeTool *> autoDetectCMakeTools()
found.append(item);
}
//execute custom helpers if available
foreach (CMakeToolManager::AutodetectionHelper source, d->m_autoDetectionHelpers)
found.append(source());
return found;
}
@@ -375,11 +370,6 @@ void CMakeToolManager::restoreCMakeTools()
emit m_instance->cmakeToolsLoaded();
}
void CMakeToolManager::registerAutodetectionHelper(CMakeToolManager::AutodetectionHelper helper)
{
d->m_autoDetectionHelpers.append(helper);
}
void CMakeToolManager::notifyAboutUpdate(CMakeTool *tool)
{
if (!tool || !d->m_cmakeTools.contains(tool))