title: instantiate c++ struct in qml js functions
body: <p>how can initial an object from a c++ struct and send them to c++ class like this :</p>
  
  <pre><code>//c++
  struct sRange
  {
  float min;
  float max;
  };
  qmlRegisterType&lt;sRange&gt;("sRange", 0, 1, "sRange");
  
  
  //QML
  import sRange 0.1
  function newRange()
  {
   sRange range;
   range.min = 10 ;
   range.max = 20 ;
  
   cppClassObject.newRange(range); // cppClassObject -&gt; registered property context
  }
  </code></pre>
  
  <p>in above code we create and instance from sRange and set to newRange method in c++ class.but we can not instantiate an object from sRange struct 
  tnx </p>