Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Is Skeleton registered in QML?
Qt 6.11 is out! See what's new in the release blog

Is Skeleton registered in QML?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
7 Posts 2 Posters 682 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sugar
    wrote on last edited by Sugar
    #1

    I tried to use Skeleton in Qt3D but it is an unknown component.
    Apparently Skeleton is not registered in QML.
    0_1561086176035_2019-06-21_12h00_51.png

    Do you know a good workaround?

    Qt version 5.13.0

    Sorry, I am not good at English. Thanks in advance.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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).

      (Z(:^

      S 1 Reply Last reply
      1
      • sierdzioS sierdzio

        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).

        S Offline
        S Offline
        Sugar
        wrote on last edited by
        #3

        @sierdzio Thank you for your reply.
        But, I already checked and tried...

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          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

          (Z(:^

          S 1 Reply Last reply
          0
          • sierdzioS sierdzio

            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

            S Offline
            S Offline
            Sugar
            wrote on last edited by
            #5

            I checked "qt3d/src/quick3d/imports/core/qt3dquick3dcoreplugin.cpp".
            I don't found qmlRegisterType<Qt3DCore::QSkeleton> in the file.
            So, It may be natural that I can not use Skeleton in QML...
            Do I need to report a bug? I'm not familiar with it.

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              It's in the documentation and does not work in practice == yes it is a bug (either in docs or in code).

              (Z(:^

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sugar
                wrote on last edited by
                #7

                I reported https://bugreports.qt.io/browse/QTBUG-76561.
                Thanks!

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved