On sábado, 7 de maio de 2016 01:36:42 PDT Christian Ehringfeld wrote: > Yes, you can find it here: > https://github.com/Professi/metaproperty-write-test > Test fails under Qt 5.6 and is succesful under Qt 5.5.1. > When I remove the inheritance between person and entity it also works > with Qt 5.6.
You're trying to set a property of type QList<QSharedPointer<Person>> with a variant containing QList<QSharedPointer<Entity>>. That's not supposed to work because lists in C++ do not support covariance nor contravariance. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest