NSAppearanceNameAqua is returned both in dark and light mode

335 Views Asked by At

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?

1

There are 1 best solutions below

1
On BEST ANSWER

Looks like the Qt folks are already working on it, see QT-BUG83111.