Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
6.4
Description
Given these two files:
InfoWidget.qml
PartRenderer {
renderController: RenderController { }
}
PartRenderer.qml:
Item {
required property var renderController
property alias rc: root.renderController
}
qmllint complains about the alias being required
Warning: InfoWidget.qml:110:9: Component is missing required property rc from PartRenderer PartRenderer { ^^^^^^^^^^^^
And yes, this is a bit of an odd setup, but I had to repeat "renderController" so many times in PartRenderer.qml that an abbreviation was in order... but not at the expense of a nice interface to the outside .
Replacing property alias rc with property var rc works just as well without warnings, but I guess it's a bit more overhead on the engine side.