Based on this discussion I have created two issue:
"QWebEngineView outputs errors when using QSurfaceFormat::CoreProfile"
https://bugreports.qt.io/browse/QTBUG-60605
"Qt3DWindow constructor should not call QSurfaceFormat::setDefaultFormat()"
https://bugreports.qt.io/browse/QTBUG-60614
---
Andy M
Thanks Sean.
One of the problems is likely that I'm using Qt3DWindow which calls
QSurfaceFormat::setDefaultFormat() in the constructor which I've already
called in main(). I'd missed this warning in my application's output
because I have a bunch of debug output:
Warning: Warning: Setting a new de
On Thursday 04 May 2017 17:57:32 Thiago Macieira wrote:
> Em quinta-feira, 4 de maio de 2017, às 16:07:12 PDT, Andy escreveu:
> > Fatal: QWebEngine: Default QSurfaceFormat OpenGL profile is not compatible
> > with the global shared context OpenGL profile. Please make sure you set a
> > compatible Q
Em quinta-feira, 4 de maio de 2017, às 16:07:12 PDT, Andy escreveu:
> Fatal: QWebEngine: Default QSurfaceFormat OpenGL profile is not compatible
> with the global shared context OpenGL profile. Please make sure you set a
> compatible QSurfaceFormat before the QtGui application instance is
> created
Thanks Thiago.
I set it to QSurfaceFormat::CompatibilityProfile and do not get the errors
in the "minimal" example or my application (just that "GVA info:" output).
However now if I open a Qt3D window in my application before the
QWebEngineView, it crashes when I show the QWebEngineView:
Fatal:
Em quinta-feira, 4 de maio de 2017, às 14:53:32 PDT, Andy escreveu:
>QSurfaceFormat format;
>
>
>format.setVersion( 4, 1 );
>
>format.setProfile( QSurfaceFormat::CoreProfile );
>
>
>QSurfaceFormat::setDefaultFormat( format );
Try setting to the compatibility profile or no prof
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_bu