title: How to change title of a QtQuick 2 window?
body: <p>I am trying to change the default window of my project but it doesn't work.
  I am using QtQuick 2.0.
  Tried importing QtQuick.Window 2.0 and making Window{} as root object instead of Rectangle{} but it doesn't allow window objects as root.It gives me the following errors:</p>
  
  <pre class="lang-none prettyprint-override"><code>QQuickView only supports loading of root objects that derive from QQuickItem. 
  
  If your example is using QML 2, (such as qmlscene) and the .qml file you 
  loaded has 'import QtQuick 1.0' or 'import Qt 4.7', this error will occur. 
  
  To load files with 'import QtQuick 1.0' or 'import Qt 4.7', use the 
  QDeclarativeView class in the Qt Quick 1 module.
  </code></pre>
  
  <p>Any ideas on how to change the window title? I'm using Qt 5.1.1.</p>