From QTextEdit docs:
What did you try so far?QTextEdit can display images (using QMimeSourceFactory), lists and tables.
...
The images identified by image tags are displayed if they can be interpreted using the text edit's QMimeSourceFactory; see setMimeSourceFactory().
Bookmarks