Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47055

Dynamic items creation not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.0 RC
    • 5.5.0, 5.6.0, 5.7.0 Beta
    • Qt3D
    • None
    • 9e07d3ae8f5b90b84735b3b8b81fa6c749a646b2

    Description

      Hi, the runtime creation of an Entity is not possible anymore (it was at some point during the Qt3D development)

      Basically the classic way to create an item does nothing:
      var component = Qt.createComponent("qrc:/MyEntity.qml");
      var meshObj = component.createObject(parent, { });

      Attached a modified version of the "controls" example to reproduce the issue.
      Hope it helps

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            mcallegari79 Massimo Callegari
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes