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

How does it work?

Qt Quick infrastructure hides most of the implementation details from the developer and allows you to keep your application code clean. Nevertheless, it's always important to understand what's going on.

The QML engine is a C++ class that understands QML code and executes the required actions to make it work. In particular, the QML engine is responsible for creating objects according to the requested hierarchy, assigning values to properties, and executing event handlers in response to events.

While QML language itself is quite far from JavaScript, it allows you to use any JavaScript expressions and code blocks for calculating values and handling events. This means that the QML engine must be capable of executing JavaScript. ...

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