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

"Set as Main .ui.qml file" doesn't work with folder structure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • QDS 4.5
    • Navigator
    • None

    Description

      User can select any qml file as main ui.qml through the QDS UI, but currently it doesn't create imports for the files that are stored in subdirectory (for example generated through Bridge).

      Steps:

      1. Import a project through Bridge or create a folder with a simple .qml file. 

      2. Right click on the file in the Navigator and click "Set as Main .ui.qml File".

      Result: "mainScreen" item type name in App.qml is rewriten into the selected Component, but the required imports are not generated.

      Manually adding the import through "Add Components Module" works (but not for nested directory structures) or through the code editor, but ideally it should be handled automatically on assignment.

      Attachments

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

        Activity

          People

            henning Henning Gründl
            algerman Aleksei German
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes