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

Ensure that simple sub folders for the main QML application work

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • Not Evaluated
    • QDS 2.3 Beta
    • None
    • All Other Issues
    • None
    • QDS 2D - 2021 Week 41/42

    Description

      QML supports folder import.

      main.qml
      Screen01.ui.qml
      fsubfolder1/SomeSubComponent.ui.qml

      Screen01.ui.qml would contain:

      import QtQuick
      import "fsubfolder1"

      Item {
      SomeSubComponent {
      }
      }

      In this case 'fsubfolder1/SomeSubComponent.ui.qml' is not a different module (And there is no extra qmldir file). This means that SomeSubComponent.ui.qml can be added in the same cmakefiles.txt like Screen01.ui.qml. Ideally this simply works out of the box.

      Attachments

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

        Activity

          People

            tapani.mattila Tapani Mattila
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes