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

StyledText doesn't support @2x images

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.6.2, 5.8
    • None

    Description

      The following example illustrates the issue. I'd expect img@2x.png to be used in both cases with QT_SCALE_FACTOR=2. Currently it is only used in the first case (the Image).

      import QtQuick 2.0
      
      Row {
          Image {
              source: "img.png"
          }
          Text {
              textFormat: Text.StyledText
              text: "<img src='img.png'/>"
          }
      }
      

      Attachments

        1. img.png
          img.png
          0.1 kB
        2. img@2x.png
          img@2x.png
          0.1 kB

        Issue Links

          Activity

            People

              sorvig Morten Sørvig
              mbrasser Michael Brasser
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: