I have try this piece of code
cursor.insertImage(freesLabel->pixmap());

This gives a error like this:
error C2664 void QTextCursor::insertImage( const TextImageFormat &) cannot convert
parameter 1 from const QPixmap to const QTextImageFormat &