no, i checked your errors and it's not because too new api. you just using it wrong
QJsonValue::QJsonValue(const char * s) Creates a value of type String with value s, assuming UTF-8 encoding of the input. You can disable this constructor by defining QT_NO_CAST_FROM_ASCII when you compile your applications. This function was introduced in Qt 5.3.