Pop quiz

Q1. Which QML type allows you to create a placeholder for an object that will be instantiated later?

  1. Repeater
  2. Loader
  3. Component

Q2. Which QML type provides low-level access to individual touch events?

  1. PinchArea
  2. MouseArea
  3. MultiPointTouchArea

Q3. When can you access a component defined in another QML file without an import statement?

  1. You can do that if the component is registered using the qmlRegisterType function
  2. You can do that if the component file is added to the project resources
  3. You can do that if the component file is in the same directory as the current file

Get Game Programming using Qt 5 Beginner's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.