Solved QML components relative position
-
How to get the QML components relative position in c++, I agree there are functions like maptoItem/mapFromItem with Item in QML.
But is there any way we can get relative position through QQuickItem and finding the children with object name and then calling mapFromItem/mapToItem version on QQuickItem in C++. -
@Ankur1107 got it use mapFromScene(), passing arg as QPointF point(0,0).