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

LegendData cannot be instantiated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.2, 6.9
    • 6.8.0
    • Graphs: 2D, Graphs: 3D
    • None
    • Windows
    • 2e05d4d0e (dev), a717a45c6 (6.9), 0cf637e3f (6.8)

    Description

      <Issue>
      LegendData(https://doc.qt.io/qt-6/qml-qtgraphs-legenddata.html) cannot be instantiated with the error:

      qrc:/qml/hellographs/main.qml:57:21: LegendData is not a type

      LegendData required QtGraphs module, which is already imported.

       

      <Reproduction Step>
      1. Open HelloGraphs(https://doc.qt.io/qt-6/qtgraphs-2d-hellographs-example.html) with Desktop Qt 6.8.0 MinGW 64-bit Kit.

      2. Add LegendData {} to the line 52, inside BarSeries, in main.qml.

      Attachments

        For Gerrit Dashboard: QTBUG-132009
        # Subject Branch Project Status CR V

        Activity

          People

            kagro Kaj Grönholm
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes