Unsolved How to check that a STL CAD model is loaded successfully in Qt3D?
-
The normal way of loading an stl cad modle is,
Qt3DRender::QMesh *CustomMesh = new Qt3DRender::QMesh(sceneRoot);
CustomMesh->setSource(QUrl::fromLocalFile("D:\temp8\f2m.STL"));However, I cannot judge in the code that the cad modle is loaded successfully or not.
Thank you.
-
@wang_qt hi,
is this what are you looking for ? https://doc.qt.io/qt-5.11/qt3drender-qmesh.html#status-prop