Ok, so my confusion still remains.
I understand that, with not having EGLFS support, this is the reason why the QEGLPlatformContext
is failing. However, I don’t understand why this is the default option?
Looking at the two example applications (the openglwindow
and cube
- working and not working, respectively) the only differences I can see is that one has a MainWidget
derived from QOpenGLWidget
(doesn’t work) whereas the other derives from QWindow
but calls setSurfaceType(QWindow::OpenGLSurface)
I’m digging myself into a hole of confusion…