Window title bar is white when dark theme is active:or launching XnView with platform argument:To achieve this behavior programmatically, Qt Blog suggests to set the environment variable in the main function via
It is posible to make it black by adding to qt.conf those lines:Code:
[Platforms]WindowsArguments = darkmode=1
Code:
"C:\Program Files\XnViewMP\xnviewmp.exe" -platform windows:darkmode=1
Code:
qsetenv("QT_QPA_PLATFORM", "windows:darkmode=1")
Statistics: Posted by Lord_D — Fri Jan 12, 2024 5:29 am