Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. How can I install fbx sdk and build the loader plugins correctly with Qt5.10?
QtWS25 Last Chance

How can I install fbx sdk and build the loader plugins correctly with Qt5.10?

Scheduled Pinned Locked Moved Unsolved Game Development
8 Posts 4 Posters 4.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Peihao Wang
    wrote on last edited by
    #1

    I'm currently using Qt5.10 and want to load .fbx model in my qt application. The documentation told me that "QMesh will also support the following format if the SDK is installed and the fbx geometry loader plugin is built and found", but honestly I can't quite understand. I'm wondering where I can get the source files and how to build them to a plugin? After that, how can I make Qt find the plugin? In addition, I'm using MacOS.

    Pablo J. RoginaP dvirmaniD 2 Replies Last reply
    0
    • P Peihao Wang

      I'm currently using Qt5.10 and want to load .fbx model in my qt application. The documentation told me that "QMesh will also support the following format if the SDK is installed and the fbx geometry loader plugin is built and found", but honestly I can't quite understand. I'm wondering where I can get the source files and how to build them to a plugin? After that, how can I make Qt find the plugin? In addition, I'm using MacOS.

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @Peihao-Wang spoiler alert: not a user of .fbx files
      It looks like you need to install the Autodesk FBX SDK, in particular the Mac download.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      2
      • P Offline
        P Offline
        Peihao Wang
        wrote on last edited by
        #3

        Thanks for your immediate reply. I've installed fbxsdk for Mac Clang, but as I tried to include "fbxsdk.h" into my source file, the compiler told me "fbxsdk.h" not found. I think I should do some path configuration, but I'm not clear about how to do this.

        Pablo J. RoginaP 1 Reply Last reply
        0
        • P Peihao Wang

          Thanks for your immediate reply. I've installed fbxsdk for Mac Clang, but as I tried to include "fbxsdk.h" into my source file, the compiler told me "fbxsdk.h" not found. I think I should do some path configuration, but I'm not clear about how to do this.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @Peihao-Wang ok, so you should identify where such header file (and maybe other ones) was installed by the SDK (i.e. usually /usr/include or /usr/local/include in Linux) along with the location of library files (i.e. .so files usually under /usr/lib or /usr/local/lib in Linux).
          Then update your Qt project file .pro with entries for INCLUDEPATH and LIBS:

          ...
          INCLUDEPATH += /path/to/sdk/headers
          LIBS += -L/path/to/sdk/libraries -lFile1 -lFile2
          

          in the example, I assume your SDK provides and your application is using functions from library files libFile1.so and libFile2.so

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          1
          • P Offline
            P Offline
            Peihao Wang
            wrote on last edited by
            #5

            My thanks again. Actually, I don't need to add "fbxsdk.h" in my project, I think. Instead, I may need to compile fbx geometry loader manually (I found this: https://github.com/yunit-io/qt3d/tree/6310f055965f824f716ccc3fbc99e4209f667635).
            In that case, I should clone the repository, run "qmake && make" to build the project, find the generated DLLs, and put them into the {$HOME}/Qt5.10.0/5.10.0/clang_64/plugins/geometryloaders, am I right?

            Pablo J. RoginaP P 2 Replies Last reply
            0
            • P Peihao Wang

              My thanks again. Actually, I don't need to add "fbxsdk.h" in my project, I think. Instead, I may need to compile fbx geometry loader manually (I found this: https://github.com/yunit-io/qt3d/tree/6310f055965f824f716ccc3fbc99e4209f667635).
              In that case, I should clone the repository, run "qmake && make" to build the project, find the generated DLLs, and put them into the {$HOME}/Qt5.10.0/5.10.0/clang_64/plugins/geometryloaders, am I right?

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @Peihao-Wang I'm afraid I'm not experienced with 3D plugins, but from documentation:

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

              so it looks like it's the way to go (and if not, it won't be that hard to try)

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              0
              • P Peihao Wang

                My thanks again. Actually, I don't need to add "fbxsdk.h" in my project, I think. Instead, I may need to compile fbx geometry loader manually (I found this: https://github.com/yunit-io/qt3d/tree/6310f055965f824f716ccc3fbc99e4209f667635).
                In that case, I should clone the repository, run "qmake && make" to build the project, find the generated DLLs, and put them into the {$HOME}/Qt5.10.0/5.10.0/clang_64/plugins/geometryloaders, am I right?

                P Offline
                P Offline
                Princein
                wrote on last edited by
                #7

                @Peihao-Wang hello, I have the same problem,and have no idea how to solve it,can you help me?
                this is my quesiton :

                https://forum.qt.io/topic/97379/how-add-fbx-sdk-in-my-mac-qt-project

                thanks a lot

                1 Reply Last reply
                0
                • P Peihao Wang

                  I'm currently using Qt5.10 and want to load .fbx model in my qt application. The documentation told me that "QMesh will also support the following format if the SDK is installed and the fbx geometry loader plugin is built and found", but honestly I can't quite understand. I'm wondering where I can get the source files and how to build them to a plugin? After that, how can I make Qt find the plugin? In addition, I'm using MacOS.

                  dvirmaniD Offline
                  dvirmaniD Offline
                  dvirmani
                  wrote on last edited by
                  #8

                  @Peihao-Wang Hey there! Were you able to make it work? I'm struggling with the same issue.

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved