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

Pop quiz

Q1. Which QML type can be used to enable scrolling of a large item inside a smaller viewport?

  1. Rectangle
  2. Flickable
  3. Window

Q2. What is the purpose of the Affector QML type?

  1. Affector allows you to change properties of QML items during an animation
  2. Affector influences properties of particles spawned by a particle system
  3. Affector allows you to control initial properties of particles spawned by a particle system

Q3. What happens when you use QPainter to draw on a Qt Quick item?

  1. Every call to the QPainter API is translated to an equivalent OpenGL call
  2. QPainter paints on an invisible buffer that is then loaded as an OpenGL texture
  3. The item painted by QPainter is displayed without hardware acceleration

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