Hi all,

This message is inspired by the 'QGraphicsView and OpenGL in Qt6' topic.

We also still use Qt5 for our 2D image viewer/adjustment/inspection apps
(several ones) because of QGraphicsView/Scene API:
  - image rendering is performed by OpenGL or OpenGL-over-ANGLE (so
DirectX9/11 rendering is possible, this is a vital option for some buggy
Windows OpenGL implementations)
  - QGraphicItem(s) are used to provide user interaction with displayed
image: crop area, selection, text labels, etc, etc, etc

So, there is a lot of QGraphicsView-related code in our apps...

The time to migrate to QRhi* is definitely here:
  - OpenGL is deprecated on macOS (and we can’t say that it works well
there, Metal is much better)
  - OpenGL over ANGLE is ugly, it is much better to use DX11/12 directly
(and use compute shaders if allowed by implementation)

So, my question is: are there any plans to provide
QGraphicsView::setViewPort(QRHiWidget*) in some coming Qt6 version?  Maybe
Qt 6.8 or 6.9?

If so: we'll need to port/convert our OpenGL-related code to QRHI-based
QGraphicsScene::drawBackground (or so).
If not: a lot more code will require changes.

It would be great to know about plans to transfer QGraphsView to a new QRHI
rendering framework, this will allow us to plan more correctly for the next
year or two.

Thanks in advance,

Alex Tutubalin
alex.tutuba...@gmail.com
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to