Is there a way of inserting an image in a QString?
I need to have a QString this way ” ‘image’ some text”
It needs to be a QString since i’m inserting it in a QPaint event and i
cant use a QLabel for that (because i can’t insert a qlabel into the painting area)
Thanks for all the help!
QStringonly contain and display text. If you want do do such a thing, you can write rich text in yourQString(with HTML syntax) and display it in a component with is able to display rich text (hereQGraphicsTextItembecause you seem to work in a scene) :