title: All QT Quick Application crash after 3 seconds
body: <p>I can run a boilerplate QT Quick Application (empty project) fine - the window shows and does not crash. If I then update the QML with some simple controls and run the application it shows the window for 3 seconds then crashes. This problem occurs when I run the example QT Quick application projects aswell.</p>
  
  <p>The application output window shows:</p>
  
  <blockquote>
    <p>The program has unexpectedly finished.<br>
    The process was ended forcefully.</p>
  </blockquote>
  
  <p>What is going wrong and how can I fix this?</p>
  
  <p>Information:  </p>
  
  <ul>
  <li><p>I am on Windows 10 64bit, using QT Creator, the project using QMake and mininum QT version allowed is 5.9   </p></li>
  <li><p>I am compiling in Debug mode using Desktop QT 5.11.1 MSVC2017 64bit. Note I am not able to compile in any other settings (MSVC2015, MinGW) - I get errors. If I compile in Release mode I still experience the same crash.    </p></li>
  <li><p>Desktop QT 5.11.1 MSVC2017 64bit does have an exclamation mark next to it <code>No debugger setup</code></p></li>
  </ul>
  
  <p>The following QML works:</p>
  
  <pre><code>import QtQuick 2.11
  import QtQuick.Window 2.11
  
  Window {
      visible: true
      width: 640
      height: 480
      title: qsTr("Hello World")
  }
  </code></pre>
  
  <p>This causes it to crash:</p>
  
  <pre><code>import QtQuick 2.9
  import QtQuick.Window 2.2
  import QtQuick.Controls 2.3
  import QtQuick.Layouts 1.3
  
  ApplicationWindow {
      visible: true
      width: 640
      height: 480
      title: qsTr("Hello World")
  
      menuBar: MenuBar {
          Menu {
              title: 'File'
          }
      }
  
      header: ToolBar {
          RowLayout {
  
          }
      }
  
      TextArea {
          id: area
          anchors.fill: parent
      }
  }
  </code></pre>