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

Add hook to override QPlatformTheme::SystemIconThemeName for app

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.1
    • None
    • OS : ArchLinux

      DE : Gnome

    • 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

              Unassigned Unassigned
              autiarth Arthur Autin
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              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