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

    • Windows

      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.

        1. qtbug69254.zip
          221 kB
          Risto Sipola
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes