Hi guys,
I have a QObject with a property declared like this Q_PROPERTY(QJsonObject data
READ data WRITE setData).
This is very convenient when reading for example: myObject.data.isSelected.
But when writing it does not work as expected, example myObject.data.isSelected
= false, does not actually change the value in C++ object.
Do someone know how it is possible to modify the content of my C++ QJsonObject
in QML without doing myObject.data = {isSelected: false}?
Thanks
Olivier
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest