Ensure property initialization order of QML item
Unsolved
QML and Qt Quick
-
Hey, I have a custom qml item that is initialized when a certain property is initialized, so I have
Page { id: page document: somewhere.myDocument }
And after that, the page is ready to use, since the c++ functions backing it (e.g.
implicitWidth
) are relying ondocument
to exist. Is there any way to enforcedocument
being initialized first, before any of the page functionality is called?