Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15
Description
The graphics backend detection (OpenGL, OpenGLES, Vulkan, etc.) could be handled in a more convenient way.
Currently there is a need to discover of available driver on native (C++ side), then QSurfaceFormat needs to be specified and set as default, after that sequence of instructions GraphicsInfo.renderableType can be used in QML Object's onComplete handler. It would be better to have such information available in QML without need of additional setup in C++.