PDA

View Full Version : pixmap



odee2004
28th August 2009, 15:46
hi, i have a problem with storing a pixmap from labelA into the labelB's pixmap

here is my code:


labelB->setPixmap(labelA->pixmap());

caduel
28th August 2009, 16:04
what problem is that?

odee2004
28th August 2009, 16:08
oh sorry i forgot to say that it is an error.

it says "no matching function for call to 'QLabel::...."

odee2004
28th August 2009, 17:16
ok it is working now :p


labelB->setPixmap(*(labelA->pixmap()));