Pop quiz
Q1. What is the closest equivalent of std::string
in Qt?
QString
QByteArray
QStringLiteral
Q2. Which strings match the \A\d\z
regular expression?
- Strings consisting of digits
- Strings consisting of a single digit
- This is not a valid regular expression
Q3. Which of the following container types can you use to store a list of widgets?
QVector<QWidget>
QList<QWidget>
QVector<QWidget*>
Q4. Which class can you use to convert a text string containing JSON to a Qt JSON representation?
QJsonValue
QJsonObject
QJsonDocument