title: QML DefaultProperty for ObjectList/Repeater
body: <p>I'm extending QML with my own widget from c++, with <code>DefaultProperty</code> and <code>QQmlListProperty</code>, like <a href="http://doc.qt.io/qt-5/qtqml-referenceexamples-default-example.html" rel="nofollow">here</a>.</p>
  
  <p>So that I can write</p>
  
  <pre><code>Parent {    
      Child { prop: "ch1" }
      Child { prop: "ch2" }
      Child { prop: "ch3" }
  }
  </code></pre>
  
  <p>The Child objects are appending to a member property of type <a href="http://doc.qt.io/qt-5/qqmllistproperty.html" rel="nofollow">QQmlListProperty</a>.</p>
  
  <p>But when I want to use a <a href="http://doc.qt.io/qt-5/qml-qtquick-repeater.html" rel="nofollow">Repeater</a> like this:</p>
  
  <pre><code>Parent {
      Repeater {
          model: ["ch1","ch2","ch3"]
          delegate: Child {
              prop: modelData
          }
      }
  }
  </code></pre>
  
  <p>Then the runtime gives me an error: <code>Cannot assign object to list property "childObjects"</code></p>
  
  <p>How can I set the list property of my Parent object which a Repeater? </p>
  
  <p>EDIT: I've found out, that the <code>Repeater</code> inherits <code>Item</code> and can repeat only Items. But my <code>Child</code> object inherits <code>QObject</code>. So I must create a <code>Repeater</code> for <code>QObjects</code>. But that isn't the problem. How can the <code>Item</code> object have a manually written child items, and also a Repeater child which gives him many children? </p>