Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How do I find out who the parent of a QML item is?

I have tried

Component.onCompleted {
    console.log(parent.id) // undefined
}

and

Component.onCompleted {
    console.log(JSON.stringify(parent.id)) // application freeze
}

unsuccessfully.

I also did a brief google but didn't find anything

Comments