Hi,

I have qtextedit with some text and QImages in it when I pass it to printer with Qprinter only text print out, but i cant print images, what is wrong with this.

QTextCursor cursor = ui.textEdit->textCursor();
QImage image = pdfPage->renderToImage(resX, resY);
cursor.insertImage( image, "image" );


thanks.