title: Qt QScriptEngine and default conversions from Qt Script to C++
body: <p>I'm trying to convert a QVariantMap to Qt Script object. If I understood correctly it should go something like this:</p>
  
  <pre><code>QScriptEngine* engine = new QScriptEngine();
  QVariantMap* test = new QVariantMap();
  test.insert("testkey", QString("testvalue"));
  QScriptValue testqs = engine-&gt;toScriptValue(test);
  QString value = testqs.property("testkey").toString();
  </code></pre>
  
  <p>I'm not sure if that is the right way to event try to ask for the value from the ScriptValue. But the root problem is that the Script object I get, doesn't seem the have any of the properties that were in the map to begin with.</p>
  
  <p>So, what am I missing?</p>