Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.11.0
-
None
Description
Hello,
When i create a ChartView or PolarChartView and set the property legend.visible to false, i get errors. For example:
Unable to find source-code formatter for language: qml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
PolarChartView { ... legend.visible: false "legend" does not have members. (M17) ... } ChartView { ... legend.visible: false "legend" does not have members. (M17) ... }
But the code compiles and everything is fine in the app. Someone who can investigate and see why the QML-like JSLint complains? I think JSLint should not complain in this case.
There are users who discuss it here:
https://forum.qt.io/topic/81531/qtcreator-error-legend-does-not-have-members-m17
Attachments
Issue Links
- duplicates
-
QTBUG-51704 QtCharts plugins.qmltype file provides a wrong namespace for QLegend
- Closed
- is duplicated by
-
QTCREATORBUG-20645 QML Linting Problem
- Closed