Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

WebGL on Ubuntu 13.04? getContext('webgl') returns null



  • I'm trying to get WebGL to work. I followed the instructions for building Qt5 from the

    I saw in this thread https://qt-project.org/forums/viewthread/23323/ that egl isn't supported, only for x11. I think I'm using egl, since I have those packages installed. Is there a way I can change this to use x11 or something? thanks.

    EDIT: Actually scratch that, I tried recompiling and the ./configure said EGLFS was not built, and I'm on a desktop Ubuntu distro, so I suppose I'm using xcb.

    But, when I try to execute some WebGL code, or go to a WebGL site with QtTestBrowser, it says it doesn't support WebGL, even though chromium works.

    any ideas? thanks


Log in to reply