Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51704

QtCharts plugins.qmltype file provides a wrong namespace for QLegend

    XMLWordPrintable

Details

    • 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

          Activity

            People

              kkohne Kai Köhne
              kileppal Kimmo Leppälä
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: