Strange issue with QXcbIntegration: Cannot create platform OpenGL context, neither GLX or EGL are enabled
-
If you can log into your RPi locally with the graphical user interface working it should already be a good sign.
-
Thanks. Yes, its all generally Good in terms of the display when logged in as pi user. As described, the issue only manifests when the application is launched locally from the pi user profile. Starting the application remotely or within Qt Creator is all Good. For now I have created a launch application script elevated with sudo and the application runs fine.
-
Can you run GLXGears ?
-
Without sudo ?
-
@andy0206 said in Strange issue with QXcbIntegration: Cannot create platform OpenGL context, neither GLX or EGL are enabled:
EGL on X11
I wonder if your issue related to that.
Does running your application with sudo use X or the frame buffer directly ?
-
You would need a build with EGL on X11 enabled.