Drop Qt4 GUI.
Derive from QGuiApplication.
Add missing includes.
Comment out code temporarily.
Build QML main window.