Track Ball controller in Qt 5 with QGLWidget
I am looking to create a track ball controller for use with a QGLWidget, in Qt 5.
I have found this example: http://qt-project.org/doc/qt-4.8/demos-boxes.html - however it references a Graphics View Framework, which I don't want to use.
Has anyone developed a track ball controller in Qt 5? Are there examples out there?