I have a Qt3DWindow
which contains some 3D stuff. It is displayed as a widget in my Qt application using QWidget::createWindowContainer(QWindow*)
.
What would be the preferred way to draw some 2D graphics (like text, basic shapes, etc.) on top of this? Normally I would override QWidget::paintEvent
and use a QPainter
inside, but that's not possible with a Qt3DWindow
because it's not a widget.