Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0, 5.7.1, 5.8, 5.9.1, 5.9
-
Windows 10
-
800cd53c7e7c34571582d463c3f40de4df908818
Description
QGraphicsView is not able to display large images with more than 15 mega pixels when OpenGL is set as its Viewport:
setViewport(new QOpenGLWidget);
In case i set the pixmap of the Graphicsview using a large image, the resulting area appears just black.
I used 23MP RGB image with dimensions of 7786x3000 pixels.
http://4k.com/wp-content/uploads/2014/06/4k-image-santiago.jpg
When i remove the setViewport(new QOpenGLWidget) part, then the image is correctly displayed.
Attachments
Issue Links
- is duplicated by
-
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
- Closed
For Gerrit Dashboard: QTBUG-59207 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
187328,3 | Avoid losing large textures in GL texture cache | 5.9 | qt/qtbase | Status: DEFERRED | 0 | 0 |
244738,2 | Increase QOpenGLTextureCache max size | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |