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

QLabel display iPhone Screenshots fail

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.0
    • Fix Version/s: None
    • Component/s: Widgets: GraphicsView
    • Labels:
      None
    • Platform/s:
      macOS, Windows

      Description

      Example:  attachment(testQLabelSetpixmap.rar)

      ui>label>setPixmap(QPixmap(":/image/haha.png").scaled(ui>label>size(), Qt::KeepAspectRatio, Qt::SmoothTransformation)); display Success.

      ui>label_2>setPixmap(QPixmap(":/image/iPhoneScreenshots.jpg").scaled(ui>label_2>size(), Qt::KeepAspectRatio, Qt::SmoothTransformation)); display fail.

       

      Explain: iPhoneScreenshots.jpg is iPhone Screenshots.

       

       

       

        Attachments

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

          Activity

            People

            • Assignee:
              bibr Andreas Aardal Hanssen
              Reporter:
              wuyu 刘 生
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes