QWebEngineView has error webgl pages on mac pro
Unsolved
QtWebEngine
-
Hello,
I have some error initialize webgl pages on mac pro.
but I have no error on windows, mac book air 2012.
So, there is the problem only mac pro.
maybe opengl context create failed internal.I'm using QWebEngineView. here is simple example.
QUrl url = QUrl("https://paperplanes.world/"); _webview = new QWebEngineView(); auto page = _webview->page(); page->settings()->setAttribute(QWebEngineSettings::LocalStorageEnabled, true); page->settings()->setAttribute(QWebEngineSettings::PluginsEnabled, true); page->settings()->setAttribute(QWebEngineSettings::Accelerated2dCanvasEnabled, true); page->settings()->setAttribute(QWebEngineSettings::WebGLEnabled, true); _webview->showNormal(); _webview->load(url);
and I have Application output here.
[26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context. [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context. [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context. [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context. [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context. [26155:70403:0417/122744:ERROR:gl_context_cgl.cc(129)] Error creating context. AVDCreateGPUAccelerator: Error loading GPU renderer
and,
Is there any option in QWebEngineView ?
-
Hi @Yoshimura
Have you found the solution to this issue?Regards