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

MCU deploy step fails when adding Shapes module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • QDS 4.3.2
    • QDS 2.3, QDS 2.2.2
    • MCU support
    • None
    • 8f57d1ec0 (qds/dev)

    Description

      Steps to reproduce:

      1. Create an MCU project
      2. Configure Qt for MCUs installation location in Settings
      3. Ensure the MCU Deploy step is enabled for the active project
      4. Manually add "import QtQuick.Shapes" to one of the project's QML files
      5. Manually add "Shape { }" to the same QML file
      6. Click "Run"

      Expected result:

      The MCU deploy step executes without errors and the preview starts.

      Actual result:

      The MCU deploy step fails with the following error:

      C:/Users/Yoann/Documents/UntitledProject15/Screen01.ui.qml:12:1: error: The module 'QtQuick.Shapes' could not be found in the include paths.
      import QtQuick.Shapes
      ^~~~~~ 

      Notes:{}

      Manually adding "<QtMCUs_install_dir>/include/qul/Shapes" as one of the arguments passed to qmlprojectexporter in the "Qt for MCUs Deploy Step" fixes the problem. Somehow, the same issue doesn't occur for other modules such as QUL.Extras, or QtQuick.Controls.

      Attachments

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

        Activity

          People

            yasser Yasser Grimes
            ylopes Yoann Lopes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes