Qt 6.11 is out! See what's new in the release
blog
Count object childrens
QML and Qt Quick
2
Posts
2
Posters
2.2k
Views
1
Watching
-
anyone knows how to count an object childrens?
i'm currently using this method: myRec.data.length - but this gives me 4 dunno why... obviously i could do myRec.data.length - 2@Rectangle {
id: myRec
Rectangle {}
Rectangle {}
}@myRec shou