QGraphicsWebView setRenderHints alternative
I'm using QGraphicsWebView and the scaled images rendered into it are pixelated. If I use QWebView and call its setRenderHints function like this:
the images are rendered very nice.
How can I accomplish this with the QGraphicsWebView? Is there an alternative to set SmoothPixmapTransform ?
Sorry, my bad! I was using an older version of Qt when tested this.
I set the render hints like this in the constructor of the classes inherited from QGraphicsWebView and QGraphicsView:
but the scaled images still looks pixelated.
(The images are scaled from CSS by setting the width property).
Is there a way to make those images look nicer?