I have an application in Qt for mac and after upgrading to XCode 11.4, my application does not switches to dark mode.
I checked out my code and I realized that NSAppeareance name is NSAppearanceNameAqua both in case of light and dark mode.
I tried the following two ways:
NSString * appearance = NSAppearance.currentAppearance.name;
NSString * appearance = NSApplication.sharedApplication.effectiveAppearance.name;
Anyone else faced the same issue?