FbxGeometryLoader with QML

Viewed 691

I want to import a .fbx file into my Scene3D, via the QMesh type, all in QML. Per the documentation,

QMesh will also support the following format if the SDK is installed and the fbx geometry loader plugin is built and found

So the result I want is something like the following:

Entity {
... 
   Mesh{
   source: "qrc:/3dmodels/potato.fbx"
   }
}

After some searching, I found this post on the Qt forum, which directed me to download and include the Autodesk SDK into my project (via CMake).

I think that the only part I am lacking is to build the geometry loader for fbx, which I found in the source files (Qt/5.11.1/Src/qt3d/src/plugins/geometryloaders/fbx).

My question: How do I build the fbx geomerty loader from source, and include it into my project?

1 Answers
Related