Solved Is Skeleton registered in QML?
-
I tried to use
Skeleton
in Qt3D but it is an unknown component.
ApparentlySkeleton
is not registered in QML.
Do you know a good workaround?
Qt version 5.13.0
Sorry, I am not good at English. Thanks in advance.
-
You need correct import
import Qt3D.Core 2.13
.Import statement is always mentioned at the top of each component's documentation page (https://doc.qt.io/qt-5/qml-qt3d-core-skeleton.html).
-
@sierdzio Thank you for your reply.
But, I already checked and tried... -
Does it not work at runtime or only Qt Creator does not see this component?
I suggest reporting this on Qt bugtracker: https://bugreports.qt.io
-
I checked "qt3d/src/quick3d/imports/core/qt3dquick3dcoreplugin.cpp".
I don't foundqmlRegisterType<Qt3DCore::QSkeleton>
in the file.
So, It may be natural that I can not useSkeleton
in QML...
Do I need to report a bug? I'm not familiar with it. -
It's in the documentation and does not work in practice == yes it is a bug (either in docs or in code).
-
I reported https://bugreports.qt.io/browse/QTBUG-76561.
Thanks!