using Qt3D in a QWidget application
-
wrote on 7 Jul 2015, 14:49 last edited by
HI,
I'm trying to use Qt3D in a QWidget app.
there is no Qt3D widget, so what is the best way for that. I can't find an exemple to do it.
Does I still have to use QGLWidget?
thank you for your help -
wrote on 9 Jul 2015, 14:04 last edited byThis post is deleted!
-
wrote on 14 Jul 2015, 16:26 last edited by
QGLWidget is deprecate. I use QOpenGLWindow and it works. Make sure to call QOpenGLWindow::create() or it won't work.
Here is a c++ example.
https://github.com/qtproject/qt3d/tree/dev/examples/qt3d/cpp_example
2/3