QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled

12,329

Eventually I realised that OpenGL 3.3 wouldn't work easily on virtual machines .. yet. I had to boot from ubuntu usb and work from there by installing latest mesa 3d package.

Share:
12,329
Admin
Author by

Admin

Updated on June 05, 2022

Comments

  • Admin
    Admin almost 2 years

    I have a unix binary file built with QT and OpenGL which I'm trying to execute on linux-64. It is a simple visual program that shows 2d and 3d graphics.

    I have installed all necessary dependencies such as QT and openGL libraries. However, I have stuck with the following error trying to execute the binary

    QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled

    However, the binary eventually runs but with some missing features such as 3D graphics.

    my setup includes: virtual linux-64 using virtualBox, Vagrant, x-11 forwarding, and a Mac machine.