I have some QPixmaps and wanted them to show in a html page in a KHTMLPart.=
I =

found the data: ioslave which could solve this problem, but I have no idea =

how to encode the image correctly.
I tried the following code, but it didn't work:

QPixmap icon =3D getSomeIcon();
QByteArray data;
QDataStream stream(data, IO_WriteOnly);
stream << icon;

QString url("data:image/png,");

What am I doing wrong?


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=

e <<