forked from qt-creator/qt-creator
Honor QTCREATOR_NO_CODE_INDEXER, supress include scanning.
This commit is contained in:
@@ -774,6 +774,7 @@ void CppModelManager::updateProjectInfo(const ProjectInfo &pinfo)
|
||||
m_projects.insert(pinfo.project, pinfo);
|
||||
m_dirty = true;
|
||||
|
||||
if (qgetenv("QTCREATOR_NO_CODE_INDEXER").isNull()) {
|
||||
QFuture<void> result = QtConcurrent::run(&CppModelManager::updateIncludesInPaths,
|
||||
this,
|
||||
pinfo.includePaths,
|
||||
@@ -785,6 +786,7 @@ void CppModelManager::updateProjectInfo(const ProjectInfo &pinfo)
|
||||
Core::ProgressManager::CloseOnSuccess);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QStringList CppModelManager::includesInPath(const QString &path) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user