You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
How can QObject derived object with child objects be used with QtJsonSerializer? I mean that QObject already has children() getter. Is it possible to reuse embedded child-parent methods in collaboration with Q_PROPERTY instead of explicit adding m_children field?
The text was updated successfully, but these errors were encountered:
Please note that in order for this to work, all of the children your serialized object has must be polymorphic! Otherwise the childrens properties won't be serialized. See QJsonSerializer::polymorphing for more details.
How can QObject derived object with child objects be used with QtJsonSerializer? I mean that QObject already has children() getter. Is it possible to reuse embedded child-parent methods in collaboration with Q_PROPERTY instead of explicit adding m_children field?
The text was updated successfully, but these errors were encountered: