How to setup QT Creator to use Autodesk FBX SDK as a library?









up vote
1
down vote

favorite












The Qt documentation for QMesh at the following link, https://doc.qt.io/qt-5.11/qt3drender-qmesh.html, shows that QMesh supports FBX when using the Autodesk FBX SDK. It provides no resource about how to go about setting this up, so I searched and found 1 resource on setting up the FBX SDK with Qt Creator at the following link:



https://forums.autodesk.com/t5/fbx-forum/including-sdk-to-qt-creator/td-p/8184654



I tried the above solution, but when I try to load the QMesh I still get a Debug warning that: Qt3D.Renderer.Jobs: unsupported format encountered (fbx)



This is my code, which works for .obj files



Qt3DRender::QMesh* mesh = new Qt3DRender::QMesh();
mesh->setSource(QUrl::fromLocalFile(filepath));


I'm not sure if the "fbx geometry loader plugin is built and found" which according the Qt documentation is needed. I put the proper reference to the library in my .pro, but as far as I can tell setSource still doesn't know to utilize FBX files.










share|improve this question























  • Can there be differences between fbx files? Or is it one uniform standard like obj? If the latter, then Qt3D supports loading fbx files out of the box. At least in my project I can open and view fbx files without installing any SDKs.
    – Florian Blume
    Nov 13 at 10:58










  • How do you access the skeleton and animate the mesh?
    – karamazovbros
    Nov 13 at 12:41










  • @FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
    – karamazovbros
    Nov 16 at 5:02










  • I think in order to obtain the skeleton you need load your 3D model using the QSceneLoader class.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.
    – Florian Blume
    Nov 16 at 9:15










  • When I did try using the SceneLoader I was still unable to access the skeleton.
    – karamazovbros
    Nov 16 at 20:16














up vote
1
down vote

favorite












The Qt documentation for QMesh at the following link, https://doc.qt.io/qt-5.11/qt3drender-qmesh.html, shows that QMesh supports FBX when using the Autodesk FBX SDK. It provides no resource about how to go about setting this up, so I searched and found 1 resource on setting up the FBX SDK with Qt Creator at the following link:



https://forums.autodesk.com/t5/fbx-forum/including-sdk-to-qt-creator/td-p/8184654



I tried the above solution, but when I try to load the QMesh I still get a Debug warning that: Qt3D.Renderer.Jobs: unsupported format encountered (fbx)



This is my code, which works for .obj files



Qt3DRender::QMesh* mesh = new Qt3DRender::QMesh();
mesh->setSource(QUrl::fromLocalFile(filepath));


I'm not sure if the "fbx geometry loader plugin is built and found" which according the Qt documentation is needed. I put the proper reference to the library in my .pro, but as far as I can tell setSource still doesn't know to utilize FBX files.










share|improve this question























  • Can there be differences between fbx files? Or is it one uniform standard like obj? If the latter, then Qt3D supports loading fbx files out of the box. At least in my project I can open and view fbx files without installing any SDKs.
    – Florian Blume
    Nov 13 at 10:58










  • How do you access the skeleton and animate the mesh?
    – karamazovbros
    Nov 13 at 12:41










  • @FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
    – karamazovbros
    Nov 16 at 5:02










  • I think in order to obtain the skeleton you need load your 3D model using the QSceneLoader class.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.
    – Florian Blume
    Nov 16 at 9:15










  • When I did try using the SceneLoader I was still unable to access the skeleton.
    – karamazovbros
    Nov 16 at 20:16












up vote
1
down vote

favorite









up vote
1
down vote

favorite











The Qt documentation for QMesh at the following link, https://doc.qt.io/qt-5.11/qt3drender-qmesh.html, shows that QMesh supports FBX when using the Autodesk FBX SDK. It provides no resource about how to go about setting this up, so I searched and found 1 resource on setting up the FBX SDK with Qt Creator at the following link:



https://forums.autodesk.com/t5/fbx-forum/including-sdk-to-qt-creator/td-p/8184654



I tried the above solution, but when I try to load the QMesh I still get a Debug warning that: Qt3D.Renderer.Jobs: unsupported format encountered (fbx)



This is my code, which works for .obj files



Qt3DRender::QMesh* mesh = new Qt3DRender::QMesh();
mesh->setSource(QUrl::fromLocalFile(filepath));


I'm not sure if the "fbx geometry loader plugin is built and found" which according the Qt documentation is needed. I put the proper reference to the library in my .pro, but as far as I can tell setSource still doesn't know to utilize FBX files.










share|improve this question















The Qt documentation for QMesh at the following link, https://doc.qt.io/qt-5.11/qt3drender-qmesh.html, shows that QMesh supports FBX when using the Autodesk FBX SDK. It provides no resource about how to go about setting this up, so I searched and found 1 resource on setting up the FBX SDK with Qt Creator at the following link:



https://forums.autodesk.com/t5/fbx-forum/including-sdk-to-qt-creator/td-p/8184654



I tried the above solution, but when I try to load the QMesh I still get a Debug warning that: Qt3D.Renderer.Jobs: unsupported format encountered (fbx)



This is my code, which works for .obj files



Qt3DRender::QMesh* mesh = new Qt3DRender::QMesh();
mesh->setSource(QUrl::fromLocalFile(filepath));


I'm not sure if the "fbx geometry loader plugin is built and found" which according the Qt documentation is needed. I put the proper reference to the library in my .pro, but as far as I can tell setSource still doesn't know to utilize FBX files.







qt 3d fbx qt3d






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 11 at 17:37

























asked Nov 9 at 22:49









karamazovbros

3411217




3411217











  • Can there be differences between fbx files? Or is it one uniform standard like obj? If the latter, then Qt3D supports loading fbx files out of the box. At least in my project I can open and view fbx files without installing any SDKs.
    – Florian Blume
    Nov 13 at 10:58










  • How do you access the skeleton and animate the mesh?
    – karamazovbros
    Nov 13 at 12:41










  • @FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
    – karamazovbros
    Nov 16 at 5:02










  • I think in order to obtain the skeleton you need load your 3D model using the QSceneLoader class.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.
    – Florian Blume
    Nov 16 at 9:15










  • When I did try using the SceneLoader I was still unable to access the skeleton.
    – karamazovbros
    Nov 16 at 20:16
















  • Can there be differences between fbx files? Or is it one uniform standard like obj? If the latter, then Qt3D supports loading fbx files out of the box. At least in my project I can open and view fbx files without installing any SDKs.
    – Florian Blume
    Nov 13 at 10:58










  • How do you access the skeleton and animate the mesh?
    – karamazovbros
    Nov 13 at 12:41










  • @FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
    – karamazovbros
    Nov 16 at 5:02










  • I think in order to obtain the skeleton you need load your 3D model using the QSceneLoader class.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.
    – Florian Blume
    Nov 16 at 9:15










  • When I did try using the SceneLoader I was still unable to access the skeleton.
    – karamazovbros
    Nov 16 at 20:16















Can there be differences between fbx files? Or is it one uniform standard like obj? If the latter, then Qt3D supports loading fbx files out of the box. At least in my project I can open and view fbx files without installing any SDKs.
– Florian Blume
Nov 13 at 10:58




Can there be differences between fbx files? Or is it one uniform standard like obj? If the latter, then Qt3D supports loading fbx files out of the box. At least in my project I can open and view fbx files without installing any SDKs.
– Florian Blume
Nov 13 at 10:58












How do you access the skeleton and animate the mesh?
– karamazovbros
Nov 13 at 12:41




How do you access the skeleton and animate the mesh?
– karamazovbros
Nov 13 at 12:41












@FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
– karamazovbros
Nov 16 at 5:02




@FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
– karamazovbros
Nov 16 at 5:02












I think in order to obtain the skeleton you need load your 3D model using the QSceneLoader class.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.
– Florian Blume
Nov 16 at 9:15




I think in order to obtain the skeleton you need load your 3D model using the QSceneLoader class.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.
– Florian Blume
Nov 16 at 9:15












When I did try using the SceneLoader I was still unable to access the skeleton.
– karamazovbros
Nov 16 at 20:16




When I did try using the SceneLoader I was still unable to access the skeleton.
– karamazovbros
Nov 16 at 20:16

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234263%2fhow-to-setup-qt-creator-to-use-autodesk-fbx-sdk-as-a-library%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234263%2fhow-to-setup-qt-creator-to-use-autodesk-fbx-sdk-as-a-library%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ruanda

Makov (Slowakei)

Kleinkühnau