[Qt-jambi-interest] Question converting form QMimeData to QImage

Randy Baumgarte randy at fbn.cx
Thu Dec 31 02:09:11 CET 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-jambi-interest/attachments/20091230/cb9f661d/attachment.html 


More information about the Qt-jambi-interest mailing list