Did you find a solution? I'm curious if mime.toByteArray with perhaps
QIMage.loadFromData or something like that would work.

2009/12/30 Randy Baumgarte <[email protected]>

> Hello,
>
> I am trying to copy data from the clipboard to a QImage.  I've checked
> mime.hasImage() and it is returning true so I know I have the proper data,
> but I'm unclear as to how to get it to a QImage.  I looked at the
> documentation and it says that for C++ I need to use qvariant_cast(), but
> there is no matching function for Jambi.  QVariant doesn't seem to have a
> toImage() function.  Is there any example I can look at?
>
> Thanks,
> R.
>
> _______________________________________________
> Qt-jambi-interest mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to