[Interest] QWebEngineView + QSurfaceFormat == errors in console
Andy
asmaloney at gmail.com
Thu May 4 23:53:32 CEST 2017
I'm looking at using QWebEngineView to generate reports. When I display the
view my application is producing a lot of errors in the console related to
OpenGL.
[79260:87779:0504/172025.710383:ERROR:gl_context_cgl.cc(136)] Error
creating context.
[79260:87779:0504/172025.710427:ERROR:gpu_command_buffer_stub.cc(590)]
Failed to create shared context for virtualization.
[79261:775:0504/172025.710803:ERROR:command_buffer_proxy_impl.cc(231)]
Failed to send GpuChannelMsg_CreateCommandBuffer.
[79261:775:0504/172025.710877:ERROR:context_provider_command_buffer.cc(262)]
GpuChannelHost failed to create command buffer.
...
To reproduce, modify the webenginewidgets example called "minimal" and add
this in main() before everything else:
QSurfaceFormat format;
format.setVersion( 4, 1 );
format.setProfile( QSurfaceFormat::CoreProfile );
QSurfaceFormat::setDefaultFormat( format );
When I run it I get these errors:
[85081:53011:0504/174550.797117:ERROR:gl_context_cgl.cc(136)] Error
creating context.
[85081:53011:0504/174550.797870:ERROR:gl_context_cgl.cc(136)] Error
creating context.
[85081:53011:0504/174550.799549:ERROR:gl_context_cgl.cc(136)] Error
creating context.
[85081:53011:0504/174550.799997:ERROR:gl_context_cgl.cc(136)] Error
creating context.
GVA info: Successfully connected to the Intel plugin, offline Gen75
(macOS 10.12.4 - Qt 5.9 git)
What am I missing?
Thank you for your time.
---
Andy Maloney // https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170504/a9954cf5/attachment.html>
More information about the Interest
mailing list