Solved Importing QtStudio3D fails.
-
@filipdns Yes, thanks a lot!
-
This post is deleted! -
@filipdns However, I still got the following errors:
I use the 2017msvc.
-
Hello, you are using what I sent to you? !if yes, it can not work with msvc 2017 it has been compile with 2015
-
-
@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: 找不到指定的模块。
-
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 happenI will send you the boost folder a soon I will be at home
-
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)
-
@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?
-
drive link has been send to you
-
in qt3d studio source you have no qml folder, it will be build during compilation
-
@filipdns No, I mean when I import the studio into qml project.
-
here the link to have the boost folder to extract in src/3rdparty of qt3dstudio source
https://drive.google.com/open?id=0B5EW-qc8hAoBWlBncV9fSGVHTVU
-
sorry, I don't see what you mean about qml directory
-
@filipdns When we import some plugin in qml, the compiler needs to search the qml directory.
The other directory's content is as following:
However, Qt3dStudio's directory content is as following:
You see that? No plugins.qmltypes file? Why? -
@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)
-
do you do clean installation as I tell you?
-
@filipdns Yes, my configure is as following:
-
then I don't know what is going on I'm sorry...
-
I can only tell you my qtstudio3d in qml has no plugins.qmltypes file too