How to check that a STL CAD model is loaded successfully in Qt3D?
wang_qt last edited by
The normal way of loading an stl cad modle is,
Qt3DRender::QMesh *CustomMesh = new Qt3DRender::QMesh(sceneRoot);
However, I cannot judge in the code that the cad modle is loaded successfully or not.
ODБOï last edited by
is this what are you looking for ? https://doc.qt.io/qt-5.11/qt3drender-qmesh.html#status-prop