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

QWindow::touchEvent not called (on Mac)

    Details

    • Platform/s:
      macOS

      Description

      The QWindow::touchEvent () protected function is not called when the track pad is touched. Nor are QTouchEvent's seen in in the event function.

      These events ARE seen in a QWidget equivalent.

      According to the 5.6 documentation:

      "Unlike widgets, QWindows receive touch events always, there is no need to opt in. When working directly with a QWindow, it is enough to reimplement QWindow::touchEvent()."

      The attached simple test app uses QRasterWindow, but the same problem exists using QWindow.

        Attachments

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

          Activity

            People

            • Assignee:
              sorvig Morten Sørvig
              Reporter:
              nethers David Netherwood
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes