PDA

View Full Version : bitBlt



hugo vanwoerkom
16th October 2007, 16:27
Hi,

In the code that I am porting qt3->qt4 there are biBlt invocations in paintEvent.

I cannot find that function in the qt4 docs. Is it not meant to be used?

Hugo

marcel
16th October 2007, 16:35
use QPainter::drawPixmap instead. bitblt has been removed in Qt4

hugo vanwoerkom
16th October 2007, 16:40
Thanks Marcel. So the reason it still works is because of Q3Painter?

marcel
16th October 2007, 16:41
Yes, that is right. You should replace Q3* classes with Qt 4 equivalents.