1
0
Fork 0
forked from eden-emu/eden

[qt] Fix title bar for windows being forced to light theme (#236)

Fixed the title bar being forced to light theme and properly handle it the qt6.5 way
See: https://stackoverflow.com/a/78854851

Reviewed-on: eden-emu/eden#236
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: Maufeat <sahyno1996@gmail.com>
Co-committed-by: Maufeat <sahyno1996@gmail.com>
This commit is contained in:
Maufeat 2025-08-10 22:14:12 +02:00 committed by crueter
parent bdf5674d7e
commit 3f02d7713f
Signed by untrusted user: crueter
GPG key ID: 425ACD2D4830EBC6
3 changed files with 102 additions and 20 deletions

View file

@ -63,6 +63,4 @@ function(copy_yuzu_Qt6_deps target_dir)
else()
# Update for non-MSVC platforms if needed
endif()
# Fixes dark mode being forced automatically even when light theme is set in app settings.
file(WRITE "${CMAKE_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}/qt.conf" "[Platforms]\nWindowsArguments = darkmode=0")
endfunction(copy_yuzu_Qt6_deps)