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
Forum Updated to NodeBB v4.3 + New Features

The toolbar font is abnormally large

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 312 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 last edited by
    #1

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

    cristian-adamC 1 Reply Last reply
    0
    • A ALEXLU

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

      cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on 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

      • Login

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