Default Conversion from C++ to Qt Script
The following table describes the default behavior when a QScriptValue is constructed from a C++ type:
...............
C++ Type Default Construction
QVariantMap A new script object (created with QScriptEngine::newObject()), whose properties are initialized according to the (key, value) pairs of the map.