Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.6.0
-
None
Description
The following code works as expected:
import QtQuickText { text: Qt.application.layoutDirection === Qt.LeftToRight ? "ltr" : "rtl" }
However qmllint doesn't like it:
Warning: app.qml:5:26: Member "layoutDirection" not found on type "QQmlApplication" [missing-property] text: Qt.application.layoutDirection === Qt.LeftToRight ? "ltr" : "rtl" ^^^^^^^^^^^^^^^
despite the property layoutDirection being there and working.