Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
QDS 3.5
-
None
-
Windows, Qt 6.3.1, Qt for MCU 2.2.0
Description
Reproduce procedure:
- Create a new Qt for MCU project from QDS
- Enable Kit: Desktop Qt 6.3.1
- Add a Quick Controls item, e.g. a Button, in Screen01.ui.qml
- import QtQuick.Controls 2.15
- Button { id: button}
- Run
There is an error message:
QQmlApplicationEngine failed to load component
file:///C:/_dev/Brose_test_3/Brose_test_3.qml:8:5: Type Screen01 unavailable
file:///C:/_dev/Brose_test_3/Screen01.ui.qml: module "MCUDefaultStyle" is not installed
qml: Did not load any objects, exiting.
Workaround1:
Change the Kit to Desktop Qt 5.15.5
Workaround2:
In the auto generated file qtquickcontrols2.conf, comment out the line:
[Controls]
#Style=MCUDefaultStyle
Attachments
Issue Links
- relates to
-
QDS-10420 Importing QtQuick.Controls in a Design Studio projects breaks the runtime
- Closed