PyQt6 App not displaying in Dark Mode when launched from PyCharm IDE. Info.plist problem?
When I run my app outside of the Pycharm IDE, PyQT correctly sets the palette to MacOS dark or light mode. But when I launch directly from PyCharm it can't get the MacOS theme setting and defaults to light mode. Is there a way to fix this? One article I saw said it might be related to info.plist. How do I set info.plist for PyCharm. The article said: Add this into your apps's Info.plist:
<key>NSRequiresAquaSystemAppearance</key> <string>False</string>
请先登录再写评论。