Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qtextedit app insertmimedata from html
Forum Updated to NodeBB v4.3 + New Features

Qtextedit app insertmimedata from html

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    georgecyriac989
    wrote on last edited by
    #1

    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..

    1 Reply Last reply
    0
    • G Offline
      G Offline
      georgecyriac989
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        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?

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved