summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-12-09 14:33:13 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-12-10 06:39:05 +0100
commit074a4e16a3899652247714fc18881e97e4fcdaed (patch)
tree5628e605e82a49841dfbe701a188829fe8f7372a /tests/benchmarks
parent12b7eab4d24e867675a27ab1785ff03318f9add1 (diff)
Windows: Enable dark mode system palette by default
Can be overwritten by setting the "darkmode" parameter of the QPA platform to 0 or 1. The Windows Vista style (which is the default on Windows) will overwrite the platform theme's palette with the light system palette (see a2518b4140ed88a674bf4a4fcf4576e35c698bb9), but styles that support rendering in dark mode will just run with the dark palette. More work needed in qtdeclarative to make the Qt Quick native style for Windows also overwrite the palette, and to handle palette changes in Qt. [ChangeLog][Windows] Qt applications that use a style that supports dark mode rendering (such as the classic Windows or Fusion styles) will respect the dark appearance setting on Windows. Applications that use the Vista style, which doesn't support rendering in dark mode, will use the light system palette. On dark mode systems, the window frame will be dark if the palette is dark. Task-number: QTBUG-72028 Change-Id: I416b4fd59eb3f64701b403984c7ac2359536abbe Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions