Hello, Any body try Qtstudio3D ?
I try to include it in qt Quick but I got message "plugin cannot be loaded for module "QtStudio3D": Cannot load library E:\Qt\5.10.0\msvc2017_64\qml\QtStudio3D\declarative_qtstudio3d.dll; module can not be found" but after check the module is in this directory...
Could you help me?
@filipdns hi, IIRC the snapshot does not yet support MSV-Compiler. Your issue might be there.
@J.Hilk Oh ok I didn't know, maybe that is the cause thanks but on video "Introducing Qt 3D Studio" on youtube they use MSVC2015.
But on the video they got the same message but for them it's working, it's not my case. ;-)
From the build instructions provided here the currently known to work environment is VS2015.
I'd add the
QT_DEBUG_PLUGINSenvironment variable set to 1 so you can check what is going on regarding the plugin loading failure.
@SGaist Hi thank you very much, I follow line by line this but no success.
Studio is working but when I try to compile and run example provide with, I got always module "QtStudio3D" is not installed, with kits msvc2015, 2017 or mingw, same result...
Just realised... What version of Qt Creator are you using ? If the latest, it's most likely built with Qt 5.9.
You have to use the same version of Qt for the plugin to be loaded by Qt Creator.
@filipdns I move QtStudio3D to Qt/5.9.2/mingw53_32/qml/ and now I got :
plugin cannot be loaded for module "QtStudio3D": The plugin 'E:/Qt/5.9.2/mingw53_32/qml/QtStudio3D/declarative_qtstudio3dd.dll' uses incompatible Qt library. (5.10.0)
I don't know what this 5.10.0 is come from...
That's bound to fail, you can't mix and match compilers on Windows. The only exception is MSVC2017 which is compatible with MSVC2015.
That I don't know either ;-)
@SGaist Hi SGaist, on install instruction, they say "Download precompiled boost binaries from www.boost.org and extract them to: <path to repo root>/src/3rdparty/boost/1.65.0 but when I try to compile it, I got an message boost can not be found. I think following .h file it have to be extract to <path to repo root>/src/3rdparty/ColladaDOM/1.4.0/dom/external-libs/boost. not sure yet...
Did you try to call
git submodule init && git submodule update?
git submodule init && git submodule update
Hello, no, how you do that? only paste this command line give me fatal error not git repository
You have to do that at the root of your Qt3D Studio clone.
@SGaist thank you very much.
Do you know exactly how we have to extract boost?
when I do like they said, extracted to C:\Users\Phil\qt3dstudio\src\3rdparty\boost\1.65.0 I got boost no such as directory message for all file required in boost folder?
oh I forgot, I have also that is not working:
E:\Program Files\Microsoft Visual Studio 14.0\VC\include\crtdefs.h:10: erreur : C1083: Cannot open include file: 'corecrt.h': No such file or directory (compiling source file C:\Users\Phil\qt3dstudio\src\3rdparty\Lua\UnknownVersion\src\lbaselib.c)
I'm not lucky with qt3dstudio...
After getting the boost problem solved ?
@SGaist no nothing changed...
Hi, I found the problem.
in the build instruction they say:
Download precompiled boost binaries from www.boost.org and extract them to:
<path to repo root>/src/3rdparty/boost/1.65.0
in fact, studio need the boost_1_65_0-msvc-14.0-64 version.
It have to be install with changing directory to <path to repo root>/src/3rdparty/boost/1.65.0
After that, following the commonplatform.pri file, I saw the the boost dir was BOOSTDIR = $$THIRDPARTY_DIR/boost/1.65.0/msvc14/lib64
but it's not what we have inside boost installation, we have to create new folder called msvc14 and rename the folder who contain libboost_signals-vc140-mt-gd-1_65 to "lib64" and move this rename folder inside the msvc14 folder.
The other way is to change the bootdir in pri files but same libs are called many time, that why I make choice to change boost folder structure
Glad you found a solution and thanks for sharing !