Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-71382

Qt 5.11 ignores font size and weight style settings for QDockWidget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.11.1
    • None
    • All

      The current version of Qt ignores font size and weight settings for QDockWidget-, at least on Gentoo Linux-.

      Up to the last Gentoo stable Qt version (5.9.6), I could change a QDockWidget's title font by e. g. doing

      setStyleSheet(QStringLiteral("QDockWidget { font-weight: bold; font-size: 18pt; }");

      This does not have any effect anymore with Qt 5.11. According to https://forum.qt.io/topic/95884/, this is "a regression between 5.10.1 and 5.11".

      Would be nice if this was fixed again!

        1. main.cpp
          0.3 kB
          Christian Ehrlicher
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            l3u Tobias Leupold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes