Solved Importing QtStudio3D fails.
-
Hi,
That is not working with mingw and under 32 bits, try to compile qtstudio :
git clone --recursive https://codereview.qt-project.org/qt3dstudio/qt3dstudioand compile it with msvc2015 64 kit
-
@filipdns Thanks a lot, but could you offer me the compiled files? Thanks in advance!
-
I can but the best way is to compile it don't forget to add make step with "install" argument because during building, studio copy some files inside qt at the good place to be able to call 3s studio module
-
This post is deleted! -
@small_bird If you post your e-mail address you'll soon receive a metric ton of spam mails. You can use the forum's chat function to talk to @filipdns without the spammers watching.
-
@filipdns Hi, when I try to compile qt3dstudio, I come across the following problem:
:-1: error: msvc-version.conf loaded but QMAKE_MSC_VER isn't set
Could you help me? Thanks in advance!
-
don't forget to delete the qt3dstudio.pro.user file before compile
-
-
@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.