I was just wondering if QOpenGLWidget that is on Qt (I am using version 5.4) can be used without subclassing.
In the Qt Creator, form editor, there is a Display widget that can be inserted into the form named "OpenGL Widget". The widget appears black when inserted and is QOpenGLWidget object. Compilation does not throw errors, such as the fact that the initializedGL() virtual function must be implemented.
The Qt help available and examples only show how to use this object by subclassing it. This kind of defeats the purpose of having an insertable object on the toolbar so I thought perhaps there could be a way.
I noticed that the widget has functions such as makeCurrent(), which I think could be useful.
Thanks