Help: Allow open online documentation for CMake

Qt Creator opens by default the offline documentation of CMake.
But the user can click on the "Globe" to go to the online version
of the documentation.

Change-Id: I0b3a6bceb13784b232b539f1c04bd09aa3a11034
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Cristian Adam
2022-02-07 15:37:36 +01:00
parent 44afba5254
commit 6eaa9f099a
10 changed files with 107 additions and 19 deletions

View File

@@ -103,5 +103,11 @@ void setBlockedDocumentation(const QStringList &fileNames)
m_instance->setBlockedDocumentation(fileNames);
}
void addOnlineHelpHandler(const OnlineHelpHandler &handler)
{
if (checkInstance())
m_instance->addOnlineHelpHandler(handler);
}
} // HelpManager
} // Core