Unsolved QVariant convertion to Javascript
-
If I store a javascript object in a QJsonValue, then transfom it to QVariant, and returning that QVariant value to javascript with a Q_INVOKABLE function, will it appear as a Javascript object ? Same question with a QVariantMap or QVariantArray stored into a QVariant.
-
@Pylvain
Not my area, but did you read through https://doc.qt.io/qt-5/qtqml-cppintegration-data.html#conversion-between-qt-and-javascript-types ? -
@JonB
Yes of course. It talks about convertion from QVariantList and QVariantMap, but not QVariant itself.