Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. The toolbar font is abnormally large

The toolbar font is abnormally large

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 239 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ALEXLU
    wrote on 30 Nov 2022, 06:43 last edited by
    #1

    How to solve the problem that the toolbar font becomes abnormally large after qtcreator is upgraded to version 9.0.

    C 1 Reply Last reply 30 Nov 2022, 07:50
    0
    • A ALEXLU
      30 Nov 2022, 06:43

      How to solve the problem that the toolbar font becomes abnormally large after qtcreator is upgraded to version 9.0.

      C Online
      C Online
      cristian-adam
      wrote on 30 Nov 2022, 07:50 last edited by
      #2

      @ALEXLU 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 following fonts.css made the UI font size normal again:

      QWidget
      {
          font: 9pt;
      } 
      
      1 Reply Last reply
      2

      2/2

      30 Nov 2022, 07:50

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved