使用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项也正常,试过网上的[size=; font-size: inherit,inherit]
QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);方法无效,不知哪位同学有做过这方面的开发,指导一下,谢谢