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

QQControls Template and Effect Export together leads to runtime error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • QDS 4.6.2
    • Qt-Bridge-Figma
    • None

    Description

      <Issue>
      When Qt Quick Controls template(https://www.figma.com/community/file/1185200043286168239) and Effect export are used together, it generages a QML which has an error inside.

       

      <Reproduction Steps>

      (1) Download and open the attached QQControls_Effects.fig.

      (2) You can see that the "hovered" Basic Button has a Dropshadow applied.

      (3) Export it with Qt Bridge for Figma. Make sure Design Effects is enabled. The version of the plugin is 4.6.

      (4) Import the output(attached as Button_Test_QQControls2.qtbridge) to Qt Design Studio 4.6.2.

      (5) Open the BasicButton.ui.qml(the project is attached). Running it shows the following runtime errors.

      BasicButton.ui.qml:117: ReferenceError: basicButton_DesignEffect is not defined

      (6) Check BasicButton.ui.qml and find out that the state change refers to the unexistent id "basicButton_DesignEffect."

       

       

      Attachments

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

        Activity

          People

            vikas Vikas Pachdha
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes