pDrag = new QDrag(this);pMimeData = new QMimeData();pMimeData->setText("abv");pDrag->setMimeData (pMimeData);delete pMimeData;delete pDrag;
delete pDrag;
pDrag = new QDrag(this);pMimeData = new QMimeData();pMimeData->setText("abv");pDrag->setMimeData(pMimeData);QMimeData *pMD[2];//TESTpMD[0] = pDrag->mimeData();// Запоминаем указательj = pDrag->exec (Qt::MoveAction);// RUN !!!//TESTQWidget *pW[3];pW[0]=pDrag->source();pW[1]=pDrag->target();pW[2]= this;pMD[0] = pDrag->mimeData();// Читаем указатель: УЖЕ НОЛЬ!!!delete pDrag;// OK!!!!