使用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);方法無效,不知哪位同學有做過這方面的開發,指導一下,謝謝
uj5u.com熱心網友回復:
頂一下uj5u.com熱心網友回復:
https://blog.csdn.net/qq821181867/article/details/84646743uj5u.com熱心網友回復:
樓主你好,你的qt加載3d效果的問題解決了嗎?我也遇到了同樣的問題。轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/104970.html
標籤:其他技術討論專區
上一篇:正則運算式 含有公用子串的匹配
下一篇:400錯誤-請求語法錯誤
