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

Using QGraphicsView::render() and QPainter to render the graphicsview's viewport onto a QOpenGLPaintDevice fails if the scene consists of a large image

    XMLWordPrintable

Details

    • Windows

    Description

      Using QGraphicsView::render() and QPainter to render the graphicsview's viewport onto a QOpenGLPaintDevice fails if the scene consists of a large image. This happens even though the image is fitted in the view, and thus, the image rendered is not large. If this is a limitation of this method it should be documented.

      Steps to reproduce:

      • run the sample attached
      • press "Render" button
        EXPECTED: rendered images appear on the QOpenGLWidgets
        ACTUAL: the large image does not appear. only the smaller image used for comparison appears.

      Attachments

        1. qtbug69254.zip
          221 kB
          Risto Sipola

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              risto.sipola Risto Sipola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes