Solved Importing QtStudio3D fails.
-
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
-
the problem is no there
-
@filipdns En, mine has compiler error, not warning!!!
-
@filipdns Are you sure you can import qt3dstudio in qml? It should has the search path. Could you show me the shortcut?
-
@small_bird said in Importing QtStudio3D fails.:
import qt3dstudio in qml
import qt3dstudio in qml? no you don't import any thing it's building process do it for you
-
@filipdns
The document shows that we can import studio3d to munipulate the elements in the qml project. -
@filipdns You have mentioned it before:
https://forum.qt.io/topic/84211/qtstudio3d -
oh ok, yes but before importing it had to be installed...