[Qt-interest] Is it possible to use openGL to accererate a QListView containing images

Girish Ramakrishnan girish at forwardbias.in
Thu Feb 25 09:53:31 CET 2010


Bu, Long wrote:
> Hi,
> 	I have a QListView full of images. Is it possible to use openGL 
> To paint the images for smooth moving when dragging them.
> 	
> 	These widgets are based QWidget which uses QX11PaintEngine as its painting engine instead of QOpenGLPaintEngine.

QListView is a scroll area. Try, QAbstractScrollArea::setViewport(new
QGLWidget).

Girish



More information about the Qt-interest-old mailing list