Details
Description
QtWebEngineCore::initialise creates a OpenGL Context. This creates two problems:
1) The context maybe will not be uses as no WebEngine component is instantiate at all.
2) Headless applications, that uses QCoreApplications, will crash.
The second case can happen when an headless app loads an library that uses QtWebEngine.
Moving the initialisation of the context to when it is really required will solve case 2 and do a better use of resources (case 1)