main: the QDeclarativeView needs a QGLWidget viewport

GLWidget only supports the FullViewportUpdate mode.
main: create a QApplication class "ButtleApp"