[Interest] Qt3D and QOpenGLWidget
Nye
kshegunov at gmail.com
Wed Dec 23 11:33:58 CET 2015
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-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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151223/6738fd7b/attachment.html>
More information about the Interest
mailing list