send structure data through drag QMimeData
Hi friends,
I have to perform drag and drop between different views (different scene also) , so i have to copy the content of one scene to other . the copy item will have lots of details ( about a six memeber in a structure) .
i can pass data as QByteArray, pixmap and html but is it possible to sent it as a structure itself .?
please help me ,
Thanks in advance
Re: send structure data through drag QMimeData
As long as you work within a single app, you can even pass a pointer to an object. However it is wider to provide proper serialization of your data using QDataStream.