Details
Description
The Qt3DRender::QRenderAspect is created before setFormat(). This causes the QOpenGLContext to be created in Renderer::initialize() (renderer.cpp line 350) before setFormat() is called, and so the context is created with the default surface format. The default format is version 2.0, NoProfile and samples=-1.
Creating the QRenderAspect after calling setFormat() in qt3dwindow.cpp fixes this.