title: Qt5 Using QWidget with QtQuick2
body: <p>There are a few problems with the combination of Qt5 and QtQuick2. Whenever you would like to use some of the many QWidget based classes you first run across the following problem:</p>
  
  <p>You should be using <code>QApplication</code> instead of Qt5's <code>QGuiApplication</code>. Well that can be easly changed, right?</p>
  
  <p>So now I am using <code>QApplication</code> but whenever I try to use a QWidget based class my program either crashes or results in some nonsense error messages.</p>
  
  <p><strong>How should I use the old QWidgets with Qt5 then?</strong> I know that they are not the best solution with Qt5 but they are quite useful...</p>
  
  <p><em>P.S. I am developing my app in Linux, for all platforms.<br>
  I am also using the auto-generated QtQuick2ApplicationViewer class to render out QtQuick 2.0 based applications.</em></p>