Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Passing values to Component Properties?
Moetman last edited by
HI, I was wondering if there is a way to pass values to a property on a qml component. For example I want to pass a string to my component:
var name = "Fred"
var component = Qt.createComponent("myComponent.qml");
component.name = name;