forked from qt-creator/qt-creator
Fix build with Qt 6
No automatic casting to QFuture<void> anymore. Change-Id: I878975b972799f763f1a29b94f61d4a12c3a6710 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -327,7 +327,7 @@ void ClangModelManagerSupport::updateLanguageClient(ProjectExplorer::Project *pr
|
|||||||
auto future = Utils::runAsync(&Internal::generateCompilationDB, projectInfo,
|
auto future = Utils::runAsync(&Internal::generateCompilationDB, projectInfo,
|
||||||
CompilationDbPurpose::CodeModel);
|
CompilationDbPurpose::CodeModel);
|
||||||
generatorWatcher->setFuture(future);
|
generatorWatcher->setFuture(future);
|
||||||
m_generatorSynchronizer.addFuture(future);
|
m_generatorSynchronizer.addFuture(QFuture<void>(future));
|
||||||
}
|
}
|
||||||
|
|
||||||
ClangdClient *ClangModelManagerSupport::clientForProject(
|
ClangdClient *ClangModelManagerSupport::clientForProject(
|
||||||
|
Reference in New Issue
Block a user