Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-15838

When removing from the project a bundle item that brought in another .qml item as an dependent asset, the dependent qml is not removed from qmldir

XMLWordPrintable

    • 1
    • 6c38f453d (qds/dev), 8fd2c0f49 (qds/4.8.0)
    • QDS Oulu - 2025 Week 39/40

      • Create 3D project
      • Add Glass material to project from Content Library/Materials
      • Set Glass to the cubeModel
      • Add cubeModel to content library
      • Create another 3D project
      • Add instance of cubeModel to the scene
      • Check content of <project folder>/Generated/Bundles/User3D

      --> There is GlassMaterial.qml and MyCubeMaterial.qml. qmldir file also has both.

      • Remove cubeModel from project via content library context menu
      • Check content of <project folder>/Generated/Bundles/User3D

      --> .qml files have been removed, but GlassMaterial is still mentioned in qmldir file. It shouldn't be there.

      To be able to later extract the added component successfully, dependent types should be in qmldir file, so just not adding them there is not a correct solution. They just need to be properly cleaned up when depending component is removed.

        For Gerrit Dashboard: QDS-15838
        # Subject Branch Project Status CR V

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes