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

QLabel display iPhone Screenshots fail

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.13.0
    • Widgets: GraphicsView
    • None
    • 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

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes