[Qtwebengine] QtWebEngine + WebGL + ANGLE + Intel + Windows?

Matt thewantonmate at yahoo.com
Thu Aug 24 07:59:39 CEST 2017


Update: we spent a good deal of time today cloning the git repo and building Qt after applying the patches. We followed your instructions, adding the --enable-webgl-software-rendering flag and enabling Qt::AA_UseSoftwareOpenGL. We used the same pre-built mesa3d library as before, from here:
pal1000/mesa-dist-win

putting the dlls alongside our application binary and renaming to opengl32sw.dll.
Unfortunately, the application crashed immediately on startup, just as it did before when we tried running mesa without the code patches. However, suspecting the mesa library itself, we then tried copying opengl32sw.dll from the official Qt 5.9.1 release binaries instead - and that worked! We are now able to render our webgl content properly within our Qt application thanks to your new feature!
For what it's worth - before this change, our intent was to essentially trick our Qt app into thinking that a software-only OpenGL implementation was the system's desktop implementation, by either overwriting the operating system's opengl32.dll or placing the software opengl32.dll alongside our app. This didn't work at the time. However, once we found out that the mesa binaries we had downloaded didn't play nicely with Qt, we then tried another experiment: we built our application against the official downloaded Qt 5.9.1 release binaries, changed back to using Qt::AA_UseDesktopGL, and renamed opengl32sw.dll (from the Qt bin directory) back to opengl32.dll in our application directory, as we originally intended to do. This worked too!
In any case, thank you once again for all your help and responsiveness. We still need to run more comprehensive tests, but I'm hopeful that we have the functionality we need now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20170824/8a9919f7/attachment.html>


More information about the QtWebEngine mailing list