标题:QWebEngine 打开 unity 3d 网页 getcontext("webgl")返回空值问题
作者:xjonft
日期:2018-04-05 10:59
内容:
使用5.10.1中的QWebEngineView打开unity 3d 网页时提示“You need a browser which support WebGL to run this content,Try installing Firefox”,调试后发现是js中getcontext("webgl")没取到webgl信息,QWebEngineSettings::WebGLEnabled是打开的,输入chrome://gpu 发现ANGLE commit id项为unknow hash,使用chrome浏览器和CEF例子都能正确显示unity 3d网页ANGLE commit id项也正常,试过网上的QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);方法无效,不知哪位同学有做过这方面的开发,指导一下,谢谢
#1 [xjonft 04-05 11:01]
顶一下
#2 [qq821181867 12-03 11:39]
https://blog.csdn.net/qq821181867/article/details/84646743