[PyQt] macOS dark mode issue

Barry Scott barry at barrys-emacs.org
Thu Jun 13 19:25:57 BST 2019

> On 6 May 2019, at 15:32, Phil Thompson <phil at riverbankcomputing.com> wrote:
> On 06/05/2019 15:25, Barry Scott wrote:
>> Phil,
>> I'm seeing a problem with the toolbar items not being draw when coming
>> out of sleep.
>> Apparently dark mode needs QT to be built against an up todate macOS SDK.
>> I got this from https://blog.qt.io/blog/2018/11/08/qt-macos-10-14-mojave/
>> And I'm wondering if that is the problem.
>> Do you build QT yourself?
>> If so which SDK version did you use to build Qt5 for the PyQt5.12 release?
> I don't build Qt myself.
> Phil

I found that I needed to add this to my apps Info.plist.


Which tell macOS that the app supports dark mode.
This fixes the problems with the toolbar.


More information about the PyQt mailing list