From 4c629ed3562d1e1b0af251cae94f3de68a11727e Mon Sep 17 00:00:00 2001 From: David Schulz Date: Tue, 27 Feb 2018 13:34:03 +0100 Subject: [PATCH] Core: initialize helpengine in async register thread Task-number: QTCREATORBUG-19933 Change-Id: I97e7391e1c1ab7b58caa4796d557c9cc7f484005 Reviewed-by: Christian Stenger --- src/plugins/coreplugin/helpmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/coreplugin/helpmanager.cpp b/src/plugins/coreplugin/helpmanager.cpp index f7dd9818e9f..7a36f0779cf 100644 --- a/src/plugins/coreplugin/helpmanager.cpp +++ b/src/plugins/coreplugin/helpmanager.cpp @@ -156,6 +156,7 @@ void HelpManager::registerDocumentationNow(QFutureInterface &futureInterfa futureInterface.setProgressValue(0); QHelpEngineCore helpEngine(collectionFilePath()); + helpEngine.setupData(); bool docsChanged = false; QStringList nameSpaces = d->m_helpEngine->registeredDocumentations(); for (const QString &file : files) {