Well, I have read the docs more carefully, and you might not need that.
Only do this when you wish to insert a pixmap:
Qt Code:
  1. QImage img = freesLabel->pixamp()->toImage();
  2. textDoc->addResource(QTextDocument::ImageResource, QUrl("labelImage"), img);
  3. cursor.insertImage("labelImage");
To copy to clipboard, switch view to plain text mode 

This will work just fine if you implement it correctly.
textDocument is your QTextDocument.

Regards