Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
QDS 2.3, QDS 2.2.2
-
None
-
8f57d1ec0 (qds/dev)
Description
Steps to reproduce:
- Create an MCU project
- Configure Qt for MCUs installation location in Settings
- Ensure the MCU Deploy step is enabled for the active project
- Manually add "import QtQuick.Shapes" to one of the project's QML files
- Manually add "Shape { }" to the same QML file
- 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.