79590393

Date: 2025-04-24 10:56:44
Score: 1
Natty:
Report link

Using Qt 6.9 seems to work.

from PySide6.QtGui import QGuiApplication, Qt

QGuiApplication.styleHints().setColorScheme(Qt.ColorScheme.Dark) # Or ColorScheme.Light.

This will give you the current color scheme for the system.

QGuiApplication.styleHints().colorScheme()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jimmy Nguyen