tags:

views:

490

answers:

1

Hi

Can anyone please tell me how many ways are there to render a screen in Qt.Like Show() , QDirectPainter etc...

+1  A: 

Qt is double buffered. So, you would use update() to request a screen redraw. Another perspective would be to enumerate the backends in Qt - and this varies on different platforms. E.g. for Windows you can use raster, OpenGL or Direct3D. In Qt 4.5 a new graphics system is introduced, where you can specify that all rendering should be done using one of native, raster, opengl. See also So Long and Thanks for the Blit!

Henrik Hartz