13transformQHelpLink(QList<QHelpLink> &&qhelplinklist)
15 std::vector<QQmlLSHelpProvider::DocumentLink> result(qhelplinklist.size());
16 std::transform(qhelplinklist.begin(), qhelplinklist.end(), result.begin(),
17 [&](
const auto &item) {
18 QQmlLSHelpProvider::DocumentLink element;
19 element.title = item.title;
20 element.url = item.url;
26QQmlLSHelpProvider::QQmlLSHelpProvider(
const QString &qhcFilePath, QObject *parent)
28 m_helpEngine.emplace(qhcFilePath, parent);
29 m_helpEngine->setReadOnly(
false);
30 m_helpEngine->setupData();