QPixmap::scaled() returns a copy of the pixmap that is scaled. It does not alter the original pixmap. You are currently discarding the returned pixmap. Try:
Qt Code:
pixmap = pixmap.scaled(1000, 600); j->addPixmap(pixmap);To copy to clipboard, switch view to plain text mode
BTW: there's probably no reason to allocate your QPixmap on the heap.
Bookmarks