O'Reilly logo

Game Programming using Qt 5 Beginner's Guide - Second Edition by Lorenz Haas, Witold Wysota, Pavel Strakhov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Touch input

MouseArea is the simplest of input event elements. Nowadays, more and more devices have touch capabilities and Qt Quick can handle them as well. Currently, we have three ways of handling touch input.

First of all, simple touch events are also reported as mouse events. Tapping and sliding a finger on the screen can be handled using MouseArea, just like mouse input.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required