Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
6.4.0 FF
Description
$ qmllint messagedialog.qml Warning: messagedialog.qml:13:32: Property "Close" not found on type "QQuickMessageDialog" buttons: MessageDialog.Close ^^^^^
but the docs recommend this syntax
https://doc-snapshots.qt.io/qt6-dev/qml-qtquick-dialogs-messagedialog.html#buttons-prop
buttons: MessageDialog.Close
Found while trying to fix QTBUG-100839 and I think it's the same sort of thing: the enum is QPlatformDialogHelper::StandardButtons, but can QML tooling see it?
Attachments
Issue Links
- duplicates
-
QTBUG-108630 StandardButtons types
- Closed
- relates to
-
QTBUG-100839 qmllint guesses wrong about scope in so-called unqualified access
- Closed