Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Importing QtStudio3D fails.
Forum Updated to NodeBB v4.3 + New Features

Importing QtStudio3D fails.

Scheduled Pinned Locked Moved Solved QML and Qt Quick
51 Posts 3 Posters 15.6k Views 2 Watching
  • 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.
  • F filipdns

    don't forget to delete the qt3dstudio.pro.user file before compile

    small_birdS Offline
    small_birdS Offline
    small_bird
    wrote on last edited by small_bird
    #11
    This post is deleted!
    1 Reply Last reply
    0
    • F filipdns

      don't forget to delete the qt3dstudio.pro.user file before compile

      small_birdS Offline
      small_birdS Offline
      small_bird
      wrote on last edited by
      #12

      @filipdns However, I still got the following errors:

      0_1509434493904_sdfsdfsdfsdfsdf.png

      I use the 2017msvc.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        filipdns
        wrote on last edited by
        #13

        Hello, you are using what I sent to you? !if yes, it can not work with msvc 2017 it has been compile with 2015

        small_birdS 2 Replies Last reply
        0
        • F filipdns

          Hello, you are using what I sent to you? !if yes, it can not work with msvc 2017 it has been compile with 2015

          small_birdS Offline
          small_birdS Offline
          small_bird
          wrote on last edited by small_bird
          #14

          @filipdns Yes, I just tried it for msvc2015, but it still can not work.My configure is as following:
          0_1509450139097_sdfdsfsdfsdfdfsdf.PNG

          1 Reply Last reply
          0
          • F filipdns

            Hello, you are using what I sent to you? !if yes, it can not work with msvc 2017 it has been compile with 2015

            small_birdS Offline
            small_birdS Offline
            small_bird
            wrote on last edited by
            #15

            @filipdns
            The error output is as following:

            Automatic type dump of QML module failed.
            Errors:
            "C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\qmlplugindump.exe" returned exit code 3.
            Arguments: -nonrelocatable QtStudio3D 1.0 .
            QQmlComponent: Component is not ready
            file:///C:/Qt/Qt5.9.2/5.9.2/msvc2015_64/qml/typelist.qml:2:1: plugin cannot be loaded for module "QtStudio3D": Cannot load 
            library C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\qml\QtStudio3D\declarative_qtstudio3d.dll: 找不到指定的模块。
            
            1 Reply Last reply
            0
            • F Offline
              F Offline
              filipdns
              wrote on last edited by filipdns
              #16

              try that:
              -uninstall VS, (all of them, 2017,2015,... etc and all redistribuable package)
              -uninstall all QT, delete QT folder, and in C:\Users<username>\AppData\Roaming delete all qt folder
              -install git: https://git-for-windows.github.io/
              -install perl: https://www.perl.org/get.html
              -install cmake: https://cmake.org/download/
              -install python: 2.7.14 : https://www.python.org/
              -install https://go.microsoft.com/fwlink/?LinkId=691126
              -install FBXSDK: http://download.autodesk.com/us/fbx_release_older/2016.1.2/fbx20161_2_fbxsdk_vs2015_win.exe
              -re-install QT with qt tool, only keep msvc2015 and qt studio
              -in QT root folder, right click and select git bash
              -paste in git terminal :
              git clone --recursive https://codereview.qt-project.org/qt3dstudio/qt3dstudio
              -in this folder, go to src/3rd party and paste the boost folder that I will send to you (I did some modification to be able to compile 3d studio).
              -double click on qt3dstudio.pro from created folder by git in QT
              -in project setting, add make step and in argument, tape "install"
              -in environemental configuration add new with variable "FBXSDK" and value, the root to the FBXSDK you install before, like this:
              C://Autodesk/FBX SDK/2016.1.2
              -after that, compile qt studio and see what happen

              I will send you the boost folder a soon I will be at home

              small_birdS 1 Reply Last reply
              0
              • F Offline
                F Offline
                filipdns
                wrote on last edited by filipdns
                #17

                you will have probably many warnings like me (more than 950) but if it's go untill the end with no fatal error, you will see in the last lines of compilation out copy of dll in qml something like that, then you don't need any more the 3d studio sources (may be only copy past the folder "example" to the QT/Tools/Qt3Dstudio folder, it can be interesting to have them and Qt tool don't provide them at studio installation)

                small_birdS 1 Reply Last reply
                0
                • F filipdns

                  you will have probably many warnings like me (more than 950) but if it's go untill the end with no fatal error, you will see in the last lines of compilation out copy of dll in qml something like that, then you don't need any more the 3d studio sources (may be only copy past the folder "example" to the QT/Tools/Qt3Dstudio folder, it can be interesting to have them and Qt tool don't provide them at studio installation)

                  small_birdS Offline
                  small_birdS Offline
                  small_bird
                  wrote on last edited by
                  #18

                  @filipdns En, thanks a lot, but the qml directory of qtstudio3d seems to have no plugins.qmltypes, unlike others, how could the compiler find the corresponding component?

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    filipdns
                    wrote on last edited by
                    #19

                    drive link has been send to you

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      filipdns
                      wrote on last edited by
                      #20

                      in qt3d studio source you have no qml folder, it will be build during compilation

                      small_birdS 1 Reply Last reply
                      0
                      • F filipdns

                        in qt3d studio source you have no qml folder, it will be build during compilation

                        small_birdS Offline
                        small_birdS Offline
                        small_bird
                        wrote on last edited by
                        #21

                        @filipdns No, I mean when I import the studio into qml project.

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          filipdns
                          wrote on last edited by
                          #22

                          here the link to have the boost folder to extract in src/3rdparty of qt3dstudio source

                          https://drive.google.com/open?id=0B5EW-qc8hAoBWlBncV9fSGVHTVU

                          1 Reply Last reply
                          0
                          • F Offline
                            F Offline
                            filipdns
                            wrote on last edited by
                            #23

                            sorry, I don't see what you mean about qml directory

                            small_birdS 1 Reply Last reply
                            0
                            • F filipdns

                              sorry, I don't see what you mean about qml directory

                              small_birdS Offline
                              small_birdS Offline
                              small_bird
                              wrote on last edited by
                              #24

                              @filipdns When we import some plugin in qml, the compiler needs to search the qml directory.

                              0_1509496187775_1.jpg
                              The other directory's content is as following:
                              0_1509496244601_2.PNG
                              However, Qt3dStudio's directory content is as following:
                              0_1509496386451_3.PNG
                              You see that? No plugins.qmltypes file? Why?

                              1 Reply Last reply
                              0
                              • F filipdns

                                try that:
                                -uninstall VS, (all of them, 2017,2015,... etc and all redistribuable package)
                                -uninstall all QT, delete QT folder, and in C:\Users<username>\AppData\Roaming delete all qt folder
                                -install git: https://git-for-windows.github.io/
                                -install perl: https://www.perl.org/get.html
                                -install cmake: https://cmake.org/download/
                                -install python: 2.7.14 : https://www.python.org/
                                -install https://go.microsoft.com/fwlink/?LinkId=691126
                                -install FBXSDK: http://download.autodesk.com/us/fbx_release_older/2016.1.2/fbx20161_2_fbxsdk_vs2015_win.exe
                                -re-install QT with qt tool, only keep msvc2015 and qt studio
                                -in QT root folder, right click and select git bash
                                -paste in git terminal :
                                git clone --recursive https://codereview.qt-project.org/qt3dstudio/qt3dstudio
                                -in this folder, go to src/3rd party and paste the boost folder that I will send to you (I did some modification to be able to compile 3d studio).
                                -double click on qt3dstudio.pro from created folder by git in QT
                                -in project setting, add make step and in argument, tape "install"
                                -in environemental configuration add new with variable "FBXSDK" and value, the root to the FBXSDK you install before, like this:
                                C://Autodesk/FBX SDK/2016.1.2
                                -after that, compile qt studio and see what happen

                                I will send you the boost folder a soon I will be at home

                                small_birdS Offline
                                small_birdS Offline
                                small_bird
                                wrote on last edited by
                                #25

                                @filipdns However, I got the following error:

                                  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\type_traits:1501: error: C2893: fail to make funciton templete “unknown-type std::invoke(_Callable &&,_Types &&...)” spectial (compile source file Client\Code\Core\Utility\TestCmdUtils.cpp)
                                
                                1 Reply Last reply
                                0
                                • F Offline
                                  F Offline
                                  filipdns
                                  wrote on last edited by
                                  #26

                                  do you do clean installation as I tell you?

                                  small_birdS 1 Reply Last reply
                                  0
                                  • F filipdns

                                    do you do clean installation as I tell you?

                                    small_birdS Offline
                                    small_birdS Offline
                                    small_bird
                                    wrote on last edited by
                                    #27

                                    @filipdns Yes, my configure is as following:

                                    0_1509527400869_sdfsdfdsfssdfs.PNG

                                    1 Reply Last reply
                                    0
                                    • F Offline
                                      F Offline
                                      filipdns
                                      wrote on last edited by
                                      #28

                                      then I don't know what is going on I'm sorry...

                                      small_birdS 1 Reply Last reply
                                      0
                                      • F Offline
                                        F Offline
                                        filipdns
                                        wrote on last edited by
                                        #29

                                        I can only tell you my qtstudio3d in qml has no plugins.qmltypes file too

                                        1 Reply Last reply
                                        0
                                        • F Offline
                                          F Offline
                                          filipdns
                                          wrote on last edited by
                                          #30

                                          the problem is no there

                                          small_birdS 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