I can copy a pixmap into the windows clipboard with Qt. It's ok. But now, I would like to add a text before my image (pixmap) but it doesn't work.
This my code :
QClipboard* clipboard = QApplication::clipboard();
clipboard->setText("bla bla"); // I added this line
clipboard->setPixmap(pixmap);
I think that I need to create a htlm with my enriched text but I don't know how to add an pixmap (the image data without an URL)
How can I do that ?