Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7
-
None
-
6c9943117 (dev), 3b1fa2be1 (6.7), b060df576 (tqtc/lts-6.5)
Description
In https://doc.qt.io/qt-6/qml-qtqml-qt.html#createComponent-method-1 the example code doesn't look correct to me.
I would have expected something likeĀ
Qt.createComponent("QtQuick", "Rectangle", Component.Asynchronous, root)
There is no module name given, and Rectangle has no quotation marks. Is that an oversight or intentional?