[Interest] Qt3D and QOpenGLWidget
Sean Harmer
sean.harmer at kdab.com
Wed Dec 23 11:54:43 CET 2015
These top level "entry points" is something we are looking at right now.
For now using the createWindowContainer() approach is probably the easiest.
Cheers,
Sean
On Wednesday 23 Dec 2015 12:33:58 Nye wrote:
> 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.vistnes at 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-qop
> > englwindow-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 at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
--
Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
KDAB (UK) Ltd, a KDAB Group company
Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
Mobile: +44 (0)7545 140604
KDAB - Qt Experts
More information about the Interest
mailing list