Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
QDS 3.9
-
QDS Berlin - 2023 Week 5/6, QDS Berlin - 2023 Week 7/8
Description
In a Qt for MCUs 2.3 project, if there is a QML module for example a singleton for configuration values. The project can be compiled and linked and executed on target.
However, the qmlproject cannot be opened within QDS, because the QDS alerts "QML module not found" when qmlscene is run. Which means design of the UI cannot be tested. Issue reproduces with the official examples from Qt which use QML modules, for example Constants in case of perspective transforms example:
https://doc.qt.io/QtForMCUs-2.3/quickultralite-perspective-transforms-example.html
When opening the example in QDS, and if trying to run the Cover.qml produces:
"file:///D:/Qt/QtMCUs/2.3.0/examples/perspective_transforms/Cover.qml:23 module "Constants" is not installed"
Apparently in Qt for MCUs 2.3 the qmlproject structure has drastically changed (QmlProject 1.3) and it breaks QDS compatibility. Old structure, that is generated by QDS, still works, but Qt for MCUs now allow more ways of working with configuration.