Which raises the error "ReferenceError: model is not defined", as documented. Is there a way around this?

Just add the the "noise" property as another required one and don't access "model" in the delegate. You can do that where you assign to the "text" property. This way it doesn't require you to change SomeDelegate itself. Required properties in delegates are all-or-nothing. You cannot mix them with the traditional way of injecting model data into the context.
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to