The root of this problem is in QTextEdit . Namely, in the bug that appeared in Qt 5.7 version. The essence of the bug is that QTextEdit not properly handle the line-height .
There are two solutions:
Simple: Wait for Qt 5.10 release.
This bug was fixed there. Accordingly, in the Qt Creator version compiled with Qt 5.10 there will be no problems.
Complicated: Rebuild documentation manually.
Under Linux I was helped by the following steps:
- Open the file
/usr/share/qt4/doc/html/style/offline.css . - Replace all lines
line-height: <число> ; at line-height: <число>em . - Go to
/usr/share/qt4/doc/html/ . sudo qhelpgenerator qt.qhp -o ../qt.qch .- Restart Qt Creator.
Now the qt.qch file has appeared in the /usr/share/qt4/doc/ qt.qch , which Qt Creator automatically qt.qch up. For order, you can move it to the qch folder
Theoretically, the same can be done under windows, but for some reason in Qt 4.8 for windows there is no qt.qhp file and I do not know where to get it.
Result: 