title: QML text element data type/rendering issue, disappearing letters
body: <p>Using Qt 5 beta2 -- I am trying to set a QML text element text property, using a <code>QVector  &lt;QVariant&gt;</code> loaded out of a db query. </p>
  
  <p>This Works --</p>
  
  <pre><code>textobject = rootitem-&gt;findChild&lt;QObject*&gt;("titletext");
  textobject-&gt;setProperty("text", G_names[1]);
  </code></pre>
  
  <p>-- for a while, and then certain letters stop being visible. So it's getting the data passed in but
  then stops rendering. If I do this --</p>
  
  <pre><code>textobject = rootitem-&gt;findChild&lt;QObject*&gt;("titletext");
  textobject-&gt;setProperty("text", "const_char_string");
  </code></pre>
  
  <p>-- it works fine, I can keep loading as many characters as I need. I tried converting from a QVector into a const char* by using</p>
  
  <pre><code> QByteArray ba = the_string.toLatin1();
   const char *c_str = ba.data();  
  
   textobject-&gt;setProperty("text", c_str);
  </code></pre>
  
  <p>-- but it wont work. Same thing, stops showing certain letters in a seemingly random manner.</p>
  
  <p>How do I get a value out of a QVector into a type that the QML text renderer
  accepts like it does a "string" ? Is it a bug? I can't find any reference
  to a problem like this and I've been searching for days. Any help would be greatly 
  appreciated.</p>