[Interest] QOpenGLWindow inside QSplitter horizontal layout ?

Benjamin TERRIER b.terrier at gmail.com
Fri May 21 10:41:40 CEST 2021

Le ven. 21 mai 2021 à 09:39, Volker Hilsheimer <volker.hilsheimer at qt.io> a
écrit :

> As the name suggests, QOpenGLWindow is a QWindow, and QWindow’s are
> designed to be top level windows.
> To embed an OpenGL rendering surface into a widget-based UI, you should be
> looking at QOpenGLWidget instead:
> https://doc.qt.io/qt-6/qopenglwidget.html

Regardless of QOpenGLWidget being better suited that QOpenGLWindow,
shouldn't QWidget::createWindowContainer() work with any window?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210521/eeb19b66/attachment.html>

More information about the Interest mailing list