Adapt to new pointer event API in Qt6


Change-Id: If15b854adeece1a3c2151edceb45718cd7289c8f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
commit6ca90ba2f8b654c21768ffd7311a3d32396a674b
parente32d78f79d6165a27712c765af904467e79a0169
authorEdward Welbourne <edward.welbourne@qt.io>
committerAndreas Buhr <andreas.buhr@qt.io>
commit timeWed, 14 Jul 2021 13:24:18 +0200