Hi,
I'm new to Qt - it's really cute, but I don't fully understand how drag/drop is really working. I've done some tutorials already, but neither they nor google could answer my question.
I have a two QTreeWidgets with custom Items; and I want Qt to do the following:
If the user drags an Item from Widget A to Widget B, it gets "linked" to it:
I create a new special Item in B, and want to have a "pointer" property that points to the original item in A.
QMimeData can only handle Text, URLs etc, but no pointers.
How do I do that? Do I have to subclass QMimeData just for doing that?

Can I somehow "link" an Item from QTreeWidget A to QTreeWidget B without copying it? (I think not)

How do I properly conversion between a pointer and the ByteArray QMimeData wants?