Unsolved Why is my PyQt5 App in dark design on MacOS and light on Windows?
-
Hello,
I have a simple PyQT5-App:import sys from PyQt5.QtWidgets import QApplication, QWidget app = QApplication(sys.argv) window = QWidget() window.show() app.exec()
On my Windows 10 Machine, the window is white.
On my macOS Big Sur 11.4, the window is dark.
In both systems, the default app style is set to dark.
If I set the style to light, its white on both systems.Why is this as it is, and how can I avoid the difference on dark systems?
I prefer the dark design. -
Hi and welcome to devnet,
Which version of PyQt5 are you using ?
-
Hello,
Sorry for the late response, my PyQt5 Version is 5.15.6
-
You are likely hitting QTBUG-72028