Hello,
If I set a dynamic properties from C++:
void CloudModel::setPropertiesFromJson( QJsonObject json ) {
foreach( QString key, json.keys() ) {
QJsonValue value = json[key];
setProperty( key.toLatin1(), value.toVariant() );
then, I cannot access any of these new properties from QML side even if
CloudModel has been exposed to QML with qmlDeclareType.
Is this an intended behaviour or Am I doing something wrong ?
Thanks,
Gianluca.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest