title: Custom QML object with a writeable array of QString(s) as a property
body: <p>I'm trying to create a property of a custom QML object that will be an array of QString(s). These will be file paths communicated from the QML to c++ code.</p>
  
  <p>When I try to write to the object I get the error:</p>
  
  <pre><code>portal.qml:56: Unable to assign QVariantList to [unknown property type]
  </code></pre>
  
  <p>The qml that throws the error:</p>
  
  <pre><code>OgreResourceGroup
  {
      locations: [ "C:\Client\resources" ]
  }
  </code></pre>
  
  <p>The property declaration for locations:</p>
  
  <pre><code>Q_PROPERTY( QQmlListProperty&lt;QString&gt; locations READ getLocations WRITE setLocations NOTIFY locationsChanged )
  </code></pre>
  
  <p>The C++ write method in the custom object:</p>
  
  <pre><code>void setLocations( const QQmlListProperty&lt;QString&gt;&amp; list );
  </code></pre>
  
  <p>Is the javascript is creating an array of variants instead of an array of QStrings?
  If so how do you instantiate a QString?</p>
  
  <p>None of the Qt examples I've looked at implement a writable list.</p>
  
  <p>Any suggestions would be appreciated</p>