Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29667

Regression: imgs do not display in Text element

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.0.1
    • None
    • Ubuntu 12.04

    Description

      The following example does not display the image embedded in the text.

      import QtQuick 2.0
      
      Text {
          width: 800
          height: 400
          wrapMode: Text.Wrap
          textFormat: Text.RichText //does not work with Text.StyledText either
          text:
              "<p>text before image</p>
               <img src='qt-logo.png' style='float:right'>
               <p>text after image</p>"
      }
      

      The image is displayed under Qt Quick 1.0.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              martinj Martin Jones
              mbrasser Michael Brasser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes