-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10.0
Qt 6.10 came with improved high-contrast support (https://www.qt.io/blog/high-contrast-mode-in-qt-6.10 ). Unfortunately, the new API is not compatible with QML tools:
import QtQuick Window { width: 600 height: 400 visible: true property bool highContrast: Application.styleHints.accessibility.contrastPreference === Qt.HighContrast // Type "QAccessibilityHints" of property "accessibility" not found }
We need something like QQmlLocale to expose QAccessibilityHints to QML