title: Create component dynmically in QML (ListElement in ListModel)
body: <p>I want to create members of an QML-ListModel dynamically. Static creation is no problem and works fine:</p>
  <pre><code> ListModel{
              id: sList 
  
              ListElement{
                  url: &quot;Res/ex1.jpg&quot;
                  time: 10
              }
  
              ListElement{
                  url: &quot;Res/ex2.jpg&quot;
                  time: 10
              }
          }
  </code></pre>
  <p>I chosse QML function Qt.createQmlObject, sList was already create at startup:</p>
  <pre><code>Qt.createQmlObject(&quot;import QtQuick 2.5; ListElement{url: \&quot;Res/ex1.jpg\&quot;; time: 10; }&quot;, sList, &quot;dynamicItem&quot;);
  </code></pre>
  <p>I finally got an error:</p>
  <pre><code>file:///C:[...]TEP46Py6_2/main.qml:156: Error: Qt.createQmlObject(): failed to create object: 
  file:///C:[...]TEP46Py6_2/dynamicItem:1:53: Cannot assign to non-existent property &quot;time&quot;
  </code></pre>
  <p>Yes, ListElement hasn't a native property time (and also url), but ListElement commonly has no native properties. Could anybody give me an advice? Thank you.</p>