What is the recommended method of copying one QImage into another at a particular position in Qt4?
QImage::bitblt was removed in Qt4.
Does the QImage now need to be converted to a PixMap and back?
What is the recommended method of copying one QImage into another at a particular position in Qt4?
QImage::bitblt was removed in Qt4.
Does the QImage now need to be converted to a PixMap and back?
Use QPainter to draw to your image.
QPainter painter( &targetImage );
painter.drawImage( ... );
From Qt Assistant: "Use copy() or QPainter::drawImage() instead."
© 2022 - 2024 — McMap. All rights reserved.