Hello,

I'm trying to show a QIcon from ARGB32 data which come from dbus,
any help suggestions how to do that?

I have a QByteArray which contains the data, I tried

QImage image;
image.loadFromData(myByteArray);
QPixmap pixmap = QPixmap::fromImage(image);
return QIcon(pixmap) ;
unfortunately this doesn't show the icon.

Thanks in advance.
Damian
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to