Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.5.4, 6.6.2, 6.7.0 Beta3
Description
See
- https://doc.qt.io/Qt-6/qml-qtquick-controls-applicationwindow.html#locale-prop
- https://doc.qt.io/Qt-6/qml-qtqml-locale.html#name-prop
Code
import QtQml import QtQuick.Controls.Basic ApplicationWindow { id: window width: 640 height: 480 visible: true title: window.locale.name // [missing-property] }
qmlsc output
Warning: Main.qml:9:23: Member "name" not found on type "QLocale" [missing-property] title: window.locale.name ^^^^ Warning: Main.qml:9:23: Could not compile binding for title: Cannot load property name from QLocale of QQuickApplicationWindow::locale with type QLocale. [compiler] title: window.locale.name
Attachments
Issue Links
- duplicates
-
QTBUG-112366 qmlsc/qmllint: Add support for QLocale
- Closed