Unsolved Dark Mode in MacOs 15.10
-
Hello everyone, I'm developing a small GUI application using Qt 5.14 and the Qt Creator on MacOs 15.10. Currently when building and running the GUI, from within Qt Creator, the Dialog appears with the light Aqua look altough the development platform is set to Dark Mode. I've tried also to set the NSRequiresAquaSystemAppearance key to false, within the built info.plist file, forcing the dialog to avoid the light mode. This trick makes the dialog to appear in Dark Mode but makes also every widget within the dialog to disappear. Can you please tell me if there are some setting/flag/option related to QT Creator or the Qt SDK itselfs, which makes the GUI appereance respect the native look. Thanks in advance.
-
Hi,
I'm just experiencing the same issue using Qt 5.14.2
- macOS 10.14 is working
- macOS 10.15.6 the background colour is fixed light theme
So accessing the NSColor windowBackgroundColor property (without setting the property in info.plist) returns the light background colour even when in dark mode.
Try to upgrade to Qt 5.15. The styling is working in this version, though there are some other mayor bugs in it..
Greetings,
Victor