Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt 6.4(.1) Fusion Style - Force light mode?
Forum Updated to NodeBB v4.3 + New Features

Qt 6.4(.1) Fusion Style - Force light mode?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 2.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.
  • M Offline
    M Offline
    MS_36
    wrote on last edited by
    #1

    After updating to Qt 6.4.1 from 6.2.4 I noticed the fusion style now respects the Windows light/dark theme.
    Is there any way to force a theme?

    All I found in the docs was "-platform windows:darkmode=1" , but this does nothing. (https://doc.qt.io/qt-6/qguiapplication.html#platform-specific-arguments)
    Other styles have environment variables or settings for this purpose.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MS_36
      wrote on last edited by
      #2

      I opened a bug report: https://bugreports.qt.io/browse/QTBUG-109545

      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