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

Build dependency graph of components to import

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • QDS 3.6
    • QDS 3.3
    • QML Asset Importer
    • None
    • Two step parsing in asset import

      Components are often dependent on each other.

      So far the dependency was only on Types and this dependency was taken care of by a lazy type assignment after the parsing was done.

      With the introduction of Component sets(Figma variants), the complete component must be available to resolve the dependency as states are generated. To achieve this we must create a dependency graph of the components to be imported to order the import. 

       

      Following issues/requirements shall be fulfilled:

      1. No lazy type assignments as Types shall be available beforehand.
      2. We can catch cyclic dependency of QML items before generation.
      3. Nested components can be built correctly.
      4. We can resolve types before property assignments, which will allow us to provide better support in Qt-Bridge plugins to play with bindings. 
      5. We should have better support of overrides after this.

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

            vikas Vikas Pachdha
            vikas Vikas Pachdha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes