Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. UI Themes?
Qt 6.11 is out! See what's new in the release blog

UI Themes?

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 1.6k Views 4 Watching
  • 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.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on last edited by
    #1

    My application currently uses the "Fusion" style, but I've been asked if I can add "Themes" like the Windows Dark and Light Themes.

    Is there such support in Qt?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Nope. There is no buildin Dark theme for QWidgets.
      There are solutions like
      https://github.com/ColinDuquesnoy/QDarkStyleSheet

      QML has
      https://doc.qt.io/qt-6/qtquickcontrols2-material.html

      1 Reply Last reply
      2
      • Axel SpoerlA Offline
        Axel SpoerlA Offline
        Axel Spoerl
        Moderators
        wrote on last edited by
        #3

        Light/dark appearance including runtime changes will be supported from Qt 6.5 onwards.

        Software Engineer
        The Qt Company, Oslo

        PerdrixP 1 Reply Last reply
        2
        • PerdrixP Offline
          PerdrixP Offline
          Perdrix
          wrote on last edited by
          #4

          👍Thank you

          David

          1 Reply Last reply
          0
          • Axel SpoerlA Axel Spoerl

            Light/dark appearance including runtime changes will be supported from Qt 6.5 onwards.

            PerdrixP Offline
            PerdrixP Offline
            Perdrix
            wrote on last edited by
            #5

            @Axel-Spoerl Now that 6.5 is out where can I find the details about this support please?

            Many thanks
            David

            Axel SpoerlA 1 Reply Last reply
            0
            • PerdrixP Perdrix

              @Axel-Spoerl Now that 6.5 is out where can I find the details about this support please?

              Many thanks
              David

              Axel SpoerlA Offline
              Axel SpoerlA Offline
              Axel Spoerl
              Moderators
              wrote on last edited by
              #6

              @Perdrix
              Basically the platform theme knows about the appearance.
              We have changed the appearance property to the more meaningful name colorScheme last week.
              See here: https://codereview.qt-project.org/c/qt/qtbase/+/460162

              Software Engineer
              The Qt Company, Oslo

              PerdrixP 1 Reply Last reply
              1
              • Axel SpoerlA Axel Spoerl

                @Perdrix
                Basically the platform theme knows about the appearance.
                We have changed the appearance property to the more meaningful name colorScheme last week.
                See here: https://codereview.qt-project.org/c/qt/qtbase/+/460162

                PerdrixP Offline
                PerdrixP Offline
                Perdrix
                wrote on last edited by
                #7

                @Axel-Spoerl Will this apply to Widgets as well as Qt Quick?

                Thanks
                David

                1 Reply Last reply
                0
                • Axel SpoerlA Offline
                  Axel SpoerlA Offline
                  Axel Spoerl
                  Moderators
                  wrote on last edited by
                  #8

                  Yes, it will apply to both!

                  Software Engineer
                  The Qt Company, Oslo

                  PerdrixP 1 Reply Last reply
                  1
                  • Axel SpoerlA Axel Spoerl

                    Yes, it will apply to both!

                    PerdrixP Offline
                    PerdrixP Offline
                    Perdrix
                    wrote on last edited by
                    #9

                    @Axel-Spoerl 👏Thanks a lot

                    1 Reply Last reply
                    0

                    • Login

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