title: Dynamically generated ListView doesn't populate based on its model
body: <p>I'm creating a combobox manually by sending a string to Qt.createQmlObject like so:</p>
  
  <pre><code>var newQML = "ComboBox {\n";
  newQML += "  model: ListModel {\n"
  newQML += "    ListElement {\n"
  newQML += "      name: \"One\"\n"
  newQML += "    }\n"
  newQML += "  }\n"
  newQML += "}\n"
  
  var cBox = Qt.createQmlObject(newQML)
  </code></pre>
  
  <p>However, the combo box doesn't populate entries from its ListModel (it just stays empty.) I also tried creating a ListModel in the component that this is being instantiated into, gave it an id, and then tried referencing that id in my code like so:</p>
  
  <pre><code>var newQML = "ComboBox {\n";
  newQML += "  model: sampleModel\n"
  newQML += "}\n"
  
  var cBox = Qt.createQmlObject(newQML)
  </code></pre>
  
  <p>However, that doesn't work either. Please let me know the correct way to instantiate and populate a ComboBox dynamically in QML.</p>