diff --git a/documentation/qthelp/qthelpdocumentation.cpp b/documentation/qthelp/qthelpdocumentation.cpp --- a/documentation/qthelp/qthelpdocumentation.cpp +++ b/documentation/qthelp/qthelpdocumentation.cpp @@ -261,7 +261,8 @@ QObject::connect(view, &StandardDocumentationView::linkClicked, this, &QtHelpDocumentation::jumpedTo); setUserStyleSheet(view, m_current.value()); - view->setContent(m_provider->engine()->fileData(m_current.value()), QStringLiteral("text/html"), m_current.value()); + view->setHtml(m_provider->engine()->fileData(m_current.value())); + view->setUrl(m_current.value()); lastView = view; return view; }