How about just click "Thanks"?
OK, I got curious, so I decided to write a test program. I found an example PLY file online and used that, and then I hacked up the Qt3D Basic Shapes Example. Like...
I still get the crash adding the code I posted at the beginning.
I really have to have it working because I have to populate a graph with the mesh vertex.
I am willing to pay for a help
But is it now working otherwise? You can access the geometry() without a crash? If so, then I wouldn't worry about the confusing error.
d_stranz 29th March 2023, 16:35I have another model called "monster.ply". Changing the name in the setSource() method caused the other model to be loaded and I always get the same error
franco.amato 28th March 2023, 22:09Weird. Don't know. Possibly the mesh hasn't finished (or even started) loading yet since there is no delay between the setSource() and status() calls.
Maybe the mesh needs to have a name...
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
Rendering a QQuickItem into a QImage (Qt6)
15th March 2023 23:19 by Bilbon