title: frameless windows with qt5 (qml)
body: <p>I spent some good hours on web searching but nothing help me..</p>
  
  <p>I build GUI with QML and I want him without frame.</p>
  
  <p>I tried to change my main.cpp like this:</p>
  
  <pre><code>#include &lt;QtGui/QGuiApplication&gt;
  #include "qtquick2applicationviewer.h"
  
  int main(int argc, char *argv[])
  {
      QGuiApplication app(argc, argv);
      QtQuick2ApplicationViewer viewer;
  
      viewer.setMainQmlFile(QStringLiteral("qml/RR_QML/main.qml"));
      viewer.setFlags(Qt::FramelessWindowHint | Qt::Window);
      viewer.showExpanded();
  
      return app.exec();
  }
  </code></pre>
  
  <p>I also tried to change main.qml file:</p>
  
  <pre><code>Window
  {
      id: rootWindow
      flags: Qt.FramelessWindowHint | Qt.Window
  
      // my qml code here
  }
  </code></pre>
  
  <p>but nothing work.</p>
  
  <p>I'll glad for any help, thanks!</p>
  
  <p>I work with:</p>
  
  <ul>
  <li>Win 7 x64</li>
  <li>Qt 5.1.1</li>
  </ul>