Rework QML example to work with Qt5 and use standard QQuickView.
Various other Qt5 fixes.