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

Component Library incorrectly prompts nested module names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • QDS 4.5.1
    • QDS 4.5
    • Component Library
    • None
    • 88f6f52cd (qds/dev), 170a8e8e6 (qds/4.5)
    • QDS Berlin - 2024 Week 23/24

    Description

      See attached screenshots.

      Steps to reproduce:
      1. Create a project. Create a folder "MyDesign" inside the projects "...Content" directory. Inside "MyDesign" folder, create another one, "Page1". Add a simple QML file into "Page1" folder. 

      2. In Components Library click "Add module" button. It will propose "MyDesign" and "Page1" as two different imports. Importing "MyDesign" doesn't involve anything from "Page1". Importing "Page1" is impossible and causes an error message to appear.

       

      User still can import those nested folders by using Code Editor and adding

      > import "MyDesign/Page1" 

       

      But having UI that helps with valid possible imports will be beneficial. Somewhat fuller qualifiers would be also helpful for situations when users might have complex projects with recurring names, like ["MyDesign", "MyDesign/Page1", "ImportedComponentLibrary", "ImportedComponentLibrary/Page1", ...].

      Qt Bridge is capable of generating similar nested structures, following the original design page organization structure.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            algerman Aleksei German
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes