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

Dynamic items creation not working

XMLWordPrintable

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

      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

        For Gerrit Dashboard: QTBUG-47055
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes