PDA

View Full Version : pixmap from variant



kernel_panic
30th January 2007, 11:02
hello all!
Can anybody tell me how to convert the data in the attachment file to a QPixmap
or a QImage.
Thanks

kernel_panic
30th January 2007, 11:40
problem sovled:


QVaraint v = settings.value("picture");
QPixmap pix = v.value<QPixmap>();