...after further reading the following produces a blank screen:
@
CubeView::CubeView(QWindow *parent)
: QGLView(parent)
{
// here a top level node for the app is created, and parented to the view
topNode = new QGLSceneNode(this);