[Development] Property bindings in Qt 6
Shawn.Rutledge at qt.io
Thu Sep 26 18:11:57 CEST 2019
> On 26 Sep 2019, at 17:44, Simon Hausmann <Simon.Hausmann at qt.io> wrote:
> Yeah, custom setters are required.
> One option would be to say that such properties are implemented using the traditional property system altogether — bridging will be necessary anyway.
> Another option would be to implement what you described, perhaps in a more convenient way though.
Override operator= maybe?
But it might be interesting to have a proper way of signalling errors when a setter fails, instead of having to just use qWarning and hope the developer notices.
More information about the Development