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

setColorScheme does not work on linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 6.8.0
    • Widgets: Styles
    • None
    • Ubuntu21 VM
    • Linux/X11

    Description

      On my Ubuntu21 "setColorScheme" does not work.

      For example when the OS is in light mode and try to:

      QApplication::styleHints()->setColorScheme(Qt::ColorScheme:Dark);

      has no effect, app is still light (but it works on macos and windows).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tpochep Timur Pocheptsov
              trittler_s Sven Trittler
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes