Home > Back-end >  PyQt6 how to get black menu bar in Mac OS Dark Mode
PyQt6 how to get black menu bar in Mac OS Dark Mode

Time:11-26

I'm developing an app with PyQt6 for Mac OS. When using Dark Mode in the Mac OS settings it applies to all widgets etc in my app however for some reason the menubar does not turn black like it does for most other apps e.g. Google Chrome when running Mac OS in Dark Mode. I've noticed that the Finder app also does not get a black menubar for some reason.

Anyway, just wanted to check if anyone has successfully managed to get a black menu bar for their PyQt6 app when running in Mac OS Dark Mode?

I'm using Python 3.11 and Mac OS Ventura. I'm using PyInstaller to build the bundle.

CodePudding user response:

I solved it. Seems one only gets a black menu bar when running in full screen, which I was not doing.

  • Related