Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.5
Description
I use the example attached. To go around the RHI in Qt 6, I force OpenGL and switch from QQuickPaintedItem to QQuickFramebufferObject (then in the render() function open a QPainter with the help of QOpenGLPaintDevice).
This is done when NO_RHI is set to true is the CMakeLists.txt.
The issue is that the fill cover the whole area:
When I switch back to the QQuickPaintedItem approach (NO_RHI is false in the CMakeLists.txt) painted is what I expect: