11 QByteArray errorString(XR_MAX_RESULT_STRING_SIZE, 0);
12 xrResultToString(instance,
result, errorString.data());
13 errorString.resize(
qstrlen(errorString.constData()));
19 if (
result != XrResult::XR_SUCCESS) {
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool checkXrResult(XrResult result, XrInstance instance)
QString getXrResultAsString(XrResult result, XrInstance instance)
Combined button and popup list for selecting options.
size_t qstrlen(const char *str)