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. What is the closest equivalent of std::string in Qt?

  1. QString
  2. QByteArray
  3. QStringLiteral

Q2. Which strings match the \A\d\z regular expression?

  1. Strings consisting of digits
  2. Strings consisting of a single digit
  3. This is not a valid regular expression

Q3. Which of the following container types can you use to store a list of widgets?

  1. QVector<QWidget>
  2. QList<QWidget>
  3. QVector<QWidget*>

Q4. Which class can you use to convert a text string containing JSON to a Qt JSON representation?

  1. QJsonValue
  2. QJsonObject
  3. QJsonDocument

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