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

Creating a component out of quick3d node/material doesn't add QtQuick import, which breaks the 2D preview

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QDS 4.3
    • QDS 4.3
    • 2D View
    • None
    • 1
    • 0fa45358a (qds/dev), d585bbb9d (qds/4.3)
    • QDS Oulu - 2023 Week 37/38

    Description

      • Add cube to scene
      • Right click cube on navigator and select "Create Component" 
      • Accept the dialog
      • Edit the newly created component (e.g. select on navigator and press F2)

      --> New component is opened but 2D view displays invalid image and error message: "No import for Qt Quick found."

      Same with materials made into separate components.

      Note that when you make a cube into a component, it will still use the material from the main scene, so the cube will not actually show up in 3D or 2D views when you edit the components, because the material is not part of the component scene. 2D items that have bindings to other items behave the same way if made into components. I'm not sure if this is a bug or if it should be considered at feature.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes