Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.2, 6.5.0 Beta2
-
595603581 (dev), 6c667ddc9 (6.5), 6937f2e50 (dev), c1d64e221 (6.5), 82cda7129 (dev), 5001df10a (6.4), 136789182 (6.5), 5d5e41ed7 (tqtc/lts-6.2)
Description
Code
import QtQuick.Controls.Basic ApplicationWindow { id: root width: 400 height: 300 visible: true footer: DialogButtonBox { standardButtons: DialogButtonBox.Ok | DialogButtonBox.Cancel onAccepted: root.color = "green" onRejected: root.color = "red" } }
Compilation warning and error
Warning: main.qml:10:42: Property "Ok" not found on type "DialogButtonBox" standardButtons: DialogButtonBox.Ok | DialogButtonBox.Cancel ^^ Error: main.qml:10:42: Could not compile binding for standardButtons: Cannot load property Ok from QQuickDialogButtonBoxAttached of QQuickDialogButtonBoxAttached. standardButtons: DialogButtonBox.Ok | DialogButtonBox.Cancel ^^
Attachments
For Gerrit Dashboard: QTBUG-110933 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
458636,3 | qmlcompiler: Rephrase the "not found" message | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
458663,5 | Controls: Use PlatformDialogHelper for enums in DialogButtonBox | dev | qt/qtdeclarative | Status: MERGED | -1 | 0 |
458984,2 | qmlcompiler: Rephrase the "not found" message | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
460306,4 | QQmlMetaType: Clear property caches on qmlClearTypeRegistrations | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
460421,3 | QQmlMetaType: Clear property caches on qmlClearTypeRegistrations | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
460422,2 | QQmlMetaType: Clear property caches on qmlClearTypeRegistrations | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
460424,4 | QQmlMetaType: Clear property caches on qmlClearTypeRegistrations | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
460597,2 | Controls: Use PlatformDialogHelper for enums in DialogButtonBox | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |