Unsolved Avoiding duplicate `objectName` and `id` in Qml
-
I am using
objectName
to access QQuickItems from C++ for integration tests in C++. I am getting tired of assigningobjectName
to a duplicate string value and thought I would automatically assignobjectName
based on the value ofid
.Anyone k now how to do this? Or to accomplish what I am looking to do? It seems like such a waste of time to have such duplicate values for larger apps.
Thanks!