You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When QtWebkit was deprecated, Qt Creator switched to using QTextBrowser for the help browser by default, which only supports a very limited HTML/CSS (http://doc.qt.io/qt-5/richtext-html-subset.html). It will still use QtWebkit if available when building Qt Creator I think, but the official binaries do not.
For the cppreference qch to look good with this, someone would have to write a special CSS that takes the limited capability of QTextBrowser into account. I'm not sure how feasible that is.
The fix for this issue is in progress. QTextBrowser does not support <style> tags, but it supports style attributes. We're currently looking into using premailer project to transfer this information around.
Activity
p12tic commentedon Jun 2, 2017
Thanks, I was able to reproduce this too. Not sure how such an error got into release...
estan commentedon Oct 7, 2017
When QtWebkit was deprecated, Qt Creator switched to using QTextBrowser for the help browser by default, which only supports a very limited HTML/CSS (http://doc.qt.io/qt-5/richtext-html-subset.html). It will still use QtWebkit if available when building Qt Creator I think, but the official binaries do not.
For the cppreference qch to look good with this, someone would have to write a special CSS that takes the limited capability of QTextBrowser into account. I'm not sure how feasible that is.
andoks commentedon May 8, 2018
This problem is registered in the Qt issue tracker here
p12tic commentedon May 8, 2018
The fix for this issue is in progress. QTextBrowser does not support
<style>tags, but it supportsstyleattributes. We're currently looking into using premailer project to transfer this information around.PeterFeicht commentedon Oct 20, 2018
Should this be closed or are there still issues with the QCH archive?
p12tic commentedon Oct 20, 2018
It's readable right now, but there are still some visual issues that need fixing.
ilyapopov commentedon Dec 12, 2019
QtCreator 4.11 introduced a new help rendering backend which looks better than the old one, see #79 (comment)