Robert, I’m using this code to detect Dark mode in macOS:
bool MacOSDarkMode() { NSAppearance *appearance = NSAppearance.currentAppearance; if (@available(*, macOS 10.14)) { return appearance.name == NSAppearanceNameDarkAqua; } return NO; } I have it inside a MM file, included in our PRO using OBJECTIVE_SOURCES. The code is OK for macOS but I don't have anything for Windows Dark mode detection, anyone? Saludos, David _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest