Details
Description
The Qt Quick Shapes example code is confusing. Specifically, the QML files used by the shapegallery example are named in a way that is unintuitive:
ListElement { name: qsTr("Dash pattern") shapeUrl: "linearGradient.qml" } ListElement { name: qsTr("Linear gradient") shapeUrl: "radialGradient.qml" } ListElement { name: qsTr("Radial gradient") shapeUrl: "dashPattern.qml" }
That snippet can be found here. As you can see, the naming of the QML files doesn't match up with the labels for each of them. If you don't look at shapegallery.qml to see this, you'll likely just jump straight to the QML file that is named like the thing you're looking for, and it won't make sense.
Attachments
Issue Links
- resulted from
-
QTBUG-95739 Shapes example
-
- Closed
-