QtCreator 9 Font size Issue
-
Hollo,
Installed QtCreator 9.0 from online installer. Everything went OK (as usual).
However, I have an issue on font sizes for the menus bars and items wich are very wide! This make the new version of QtCreator unusable !System = windows 11
Thans in advance for your help.
-
This is unfortunately a known issue, and actually caused by Qt 6.4.1 that Qt Creator uses internally (see https://bugreports.qt.io/browse/QTBUG-108593). I'm confident a fix comes soon!
-
At https://bugreports.qt.io/browse/QTCREATORBUG-28499 you can find the corresponding Qt Creator bug report where I posted two workarounds:
Workaround: I've compiled Qt 6.4.1 with the fix form Qt 6.4.2 and attached the qwindows.dll binary to this bugreport. Just replace the installed version from
c:\Qt\qtcreator-9.0.0\bin\plugins\platforms\qwindows.dll
and this problem goes away!Second workaround: Another solution is to use a fonts.css and start Qt Creator as:
qtcreator -stylesheet fonts.css
The followingfonts.css
made the UI font size normal again:QWidget { font: 9pt; }
-
The bug is planned to be fixed in Qt 6.4.2 which will be released somewhere January 2023 according to their release plan.
6.5dev also still contains the bug -
@DerReisende Waiting for a new release is annoying but not a real issue for me (since I am using Qt mainy with VS). If fixes are on the track, it's OK!
Thx -
@cristian-adam Many Thx for the infos, tips and workarounds
I'll give it a try.