Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt for MCUs 2.10
Description
Setting file selector in mcu config has no effect on mainFile definition.
Main file is defined as such
mainFile: "RotatingRect.qml" // The application's entrypoint
and file selector like so:
MCU.Config {
...
fileSelector: ["small"]
...
}
and main file is located at:
+small/RotatingRect.qml
However, the build results in the following error:
11:59:22: 起動中: "C:\Program Files\CMake\bin\cmake.exe" --build C:/Users/mipernu/Downloads/RotatingRect/RotatingRect/build/Qt_for_MCUs_2_9_Desktop_32bpp_MSVC-Debug --target all ninja: error: 'C:/Users/mipernu/Downloads/RotatingRect/RotatingRect/RotatingRect.qml', needed by 'CMakeFiles/RotatingRect.dir/RotatingRect.h', missing and no known rule to make it
Steps to reproduce the error:
- Try to build the attached sample.
NOTE: The file selector seems to work with the other QML files.