Hacker News new | ask | show | jobs
by jcelerier 2061 days ago
It works fine with QWidget::createWindowContainer on the QRhi viewport here : https://jeanmichael-gmail.tinytake.com/tt/NDc3MjgxOF8xNTA4MT...

top is your most classic QTreeView, bottom is the widget with content rendered through RHI (a preview of a shader effect)

1 comments

Ah right, createWindowContainer should work for this.

I believe there is a reason why we don't call createWindowContainer with our use of QOpenGLWidget, though I currently can't remember it. If it still applies, then I suppose we might not be able to use QRhi.