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. Title bar color problem

Title bar color problem

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 3.0k Views 1 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.
  • F Offline
    F Offline
    Foxiou
    wrote on last edited by
    #1

    Hi everyone,

    I have a big issue, i'm trying to create a dark mode for my application. But it seems like my Qt title bar doesn't take the theme of my Windows 10.
    Do you know what can I do to have dark mode too in my Qt widget.

    Qt titlebar:
    QtTitlebar.PNG

    Windows titlebar:
    WindowsTitleBar.PNG

    Thank you in advance.

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

      Hi
      Do you mean the app dark mode in windows?
      alt text

      Does a real app like notepad has dark title too ?

      For me (win ver) its only the modern apps that follow this and not
      "real" applications like QWidget based one is.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Foxiou
        wrote on last edited by
        #3

        Notepad have white titlebar too. Some applications had dark one and others have white titlebar. Strange :p

        mrjjM 1 Reply Last reply
        0
        • F Foxiou

          Notepad have white titlebar too. Some applications had dark one and others have white titlebar. Strange :p

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Foxiou
          Hi
          Ok. I was wondering if your Windows was newer than mine and it would also color
          Desktop app's titles, but seems its like normal.
          So the Dark mode is only for those mini apps, not desktop programs.

          So your Qt app would have to be a UWP app to get a dark title.
          https://doc.qt.io/qt-5/winrt-support.html

          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