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

ReferenceError: EventPoint is not defined

    XMLWordPrintable

Details

    • All

    Description

      I copy/paste the example from https://doc.qt.io/qt-6/qml-qtquick-eventpoint.html

      If we print eventPoint, we have something like:

      QEventPoint(true, , 0, , , 754040992, 754040992, 754040936, 0, 1, 0, , , , , , , , , , , , , , )
      QEventPoint(true, , 0, , , 754041096, 754040992, 754041088, 0.104, 1, 0, , , , , , , , , , , , , , )

      We can print also eventPoint.state as integer. The integer value is random. It changes at every run.

      However, EventPoint.Pressed and co are not defined. So we have the following error:

      ReferenceError: EventPoint is not defined. 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            rbuchmann77 Richard Buchmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes