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

Add hook to override QPlatformTheme::SystemIconThemeName for app

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      OS : ArchLinux

      DE : Gnome

    • Platform/s:
      Linux/Wayland, Linux/X11

      Description

      I would love to see an option making Qt able to change

      QPlatformTheme::SystemIconThemeName

      on its own, without having to build Qt with Glib/GTK support.

       

      Such an implementation could be done for QtQuickControls directly inside the qtquickcontrols2.conf file, with something like

       

      [Controls]
      Style=Material
       
      [Material]
      Theme=Light
      Accent=Teal
      Palette\Window=#000
      Icon\ThemeName=Breeze
      

       

      Then the application would look inside $XDG_DATA_DIRS/icons or $QT_QUICK_CONTROLS_ICON_PATH to find the right icon theme.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              autiarth Arthur Autin
              PM Owner:
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              RnD Owner:
              Tor Arne Vestbø Tor Arne Vestbø
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes