[Interest] XYZ is instantiated recursively

Nuno Santos nunosantos at imaginando.pt
Thu Jan 15 10:57:04 CET 2015


Hi,

I’m building a QML UI interface for a model that can have a recursive behaviour

I’m trying to instantiate a custom module inside a custom module and it is saying XYZ is instantiated recursively.

Why does this error doesn’t occur when you instantiate a Rectangle inside a Rectangle? Isn’t that the same?

If I really want the same module to appear to model that by it’s own is recursive, what should I do? I cannot have a different Qml file for each recursive depth as I don’t know what will be the total depth of it. And it simply doesn’t make sense…

Any ideas?

Thanks,

Nuno Santos


More information about the Interest mailing list