Important: Please read the Qt Code of Conduct -

Qtextedit app insertmimedata from html

  • I am develping a QT textedit app where I am overriding insertfrom data to change the image src's to image with base 64 encoding...
    @ if(source->hasHtml())
    qDebug () << source->html();

    I need to go through each img src, download the image and then convert it into base64 and modify the src ...Is there any class that allows me to do this or I will write my own..I am new to QT any snippet in this respect also helps..

  • Correction *convert into base64 and change the src to it.

  • Moderators

    you would have to do this by yourself.

    But i can't imagine that QTextEdit widget support base64 encoded images. Have you tried if it does?

Log in to reply