Hello Harald, In my investigations, to be honest, I was not able to use QOpenGLWidget at all (Qt3D as you've seen requires a QWindow subclass). I ended up creating a QOpenGLWindow and then integrating it into my layout exactly through the QWidget::createWindowContainer() function. Hopefully someone on the team will give you a more complete picture.
Kind regards, Konstantin. On Wed, Dec 23, 2015 at 10:47 AM, Harald Vistnes <harald.vist...@gmail.com> wrote: > Is there a way to use Qt3D with QOpenGLWidget? > > Currently I am using QWidget::createWindowContainer(), but that should be > avoided as much as possible according to this blog post > > > http://blog.qt.io/blog/2014/11/20/qt-weekly-20-completing-the-offering-qopenglwindow-and-qrasterwindow/ > > So I am wondering what is the current recommended way of integrating Qt3D > in a QWidgets based application? > > Also, given the threaded magic inside Qt3D, is there a way to mix Qt3D and > QPainter based overlay rendering (text, primarily) in QOpenGLWidget or > QOpenGLWindow? > > Harald > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest