I created a SO question
and an issue
Well if feel for it, you can add such info to the class yourself, maybe with extra debug information.
or simply use std::shared_ptr
Give it a day or two. I think other might have good idea regarding this :)
Awesome, thank you very much!
It's just a matter of calling:
connect(grabResult.data(), &QQuickItemGrabResult::ready, this, &MyClass::mySlot);
I haven't checked the current implementation but in any case it's a costly operation so using a shared object might also be a non-negligeable resource usage improvement.
No one has replied
Yes, Chris. That is right, once use shared pointer, never delete it.
This is the QSharedPointer.data() document in help. see content in 
do not delete the pointer returned by this function or pass it to another function that could delete it, [including creating QSharedPointer or QWeakPointer objects.]
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.