[Interest] Deleting of QEntity in Qt 3D

Igor Mironchik igor.mironchik at gmail.com
Sun Dec 24 14:26:13 CET 2017


Hello,

What is proper way to delete QEntity in Qt 3D? Let's say I have one root 
entity and a set of children. At one point of time I want to delete one 
child. I just do deleteLater() or simple delete.

But application sometimes crashes with:

1 Qt3DCore::QBackendNode::peerId qbackendnode.cpp    170  0x7ffff7e67a28
2 Qt3DRender::Render::GraphicsContext::loadShader graphicscontext.cpp 
508  0x7ffff7bd276e
3 Qt3DRender::Render::Renderer::updateGLResources renderer.cpp        
1098 0x7ffff7b1ac74
4 Qt3DRender::Render::Renderer::doRender renderer.cpp        614  
0x7ffff7b1c63e
5 Qt3DRender::Render::Renderer::render renderer.cpp        553  
0x7ffff7b1365b
6 Qt3DRender::Render::RenderThread::run renderthread.cpp    86   
0x7ffff7b132f4
7 QThreadPrivate::start qthread_unix.cpp    376  0x7ffff6911cbf
8 start_thread pthread_create.c    333  0x7ffff58366ba
9 clone clone.S             109  0x7ffff5cdd3dd

Have to say that I receive "No shader program found for DNA" in console 
output.




More information about the Interest mailing list