Hi
Can anyone please tell me how many ways are there to render a screen in Qt.Like Show() , QDirectPainter etc...
Hi
Can anyone please tell me how many ways are there to render a screen in Qt.Like Show() , QDirectPainter etc...
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!