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

Bridge importer can generate component named Component

XMLWordPrintable

    • 0baaae8f5 (qds/dev)
    • QDS Berlin - 2023 Week 3/4

      If user calls their component "Component" in Figma, it will pass both exporter and importer and Bridge will generate Component.ui.qml, and will use its instances like

      Component { 
      id: component1; 
      x: 0 
      .... }  

       

      "Component" is a reserved type name in QML (Component QML Type) and it's usage might cause errors with property overrides in generated files (see attachment)

      Components names should be sanitized to prevent such cases

        For Gerrit Dashboard: QDS-8658
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes