Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.2, 5.5.0, 5.5.1, 5.6.0 RC
-
X11 Windows OS X
-
f6c9d0b59603d32a3a91dd166239429b3b056c6e b36af85eac67c2e92b35849b34d913ee0290cd2b
Description
As mentioned in subject a wrong namespace provided for the QLegend in plugins.qmltype. Thus Qt Creator will not see a property legend of the ChartsView.
The workaround for this issue is to change this line
Property { name: "legend"; type: "QLegend"; isReadonly: true; isPointer: true }
to this
Property { name: "legend"; type: "QtCharts::QLegend"; isReadonly: true; isPointer: true }
Attachments
Issue Links
- is duplicated by
-
QTBUG-68470 ChartView - "legend" does not have members. (M17)
-
- Closed
-
For Gerrit Dashboard: QTBUG-51704 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
240374,6 | Fully qualify classes in QtCharts namespace in Q_PROPERTY | 5.11 | qt/qtcharts | Status: MERGED | +2 | 0 |
240399,4 | Add heuristic to resolve property types to namespace | 5.12 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
248127,2 | Update plugins.qmltypes file | 5.12 | qt/qtcharts | Status: MERGED | +2 | 0 |