PDF Viewing Support (poppler-qt4)
Helge Fredriksen
hf at poseidon.no
Fri Feb 15 10:54:10 CET 2008
>
> If you're not using the generator you can still "steal" some of the
> logic in it ;-). We have quite a bit of utility functionality that is
> used from the generated code in qtjambi_core.h and friends. If you
> have a look at the generated code of for instance QPixmap::toImage()
> you see that converting a QImage into a proper jobject of class
> com.trolltech.qt.gui.QImage is done something like this:
>
> jobject jimg =
> qtjambi_from_object(env,
> &image,
> "QImage",
> "com/trolltech/qt/gui/",
> true);
>
> I hope this helps a little bit.
That would be really interesting to know more about, since we're facing
some of the same problems. We have a Win32 native image pointer that
refreshes every with 50Hz or so which we want to visualize in a Jambi
Widget. Maybe this is more a question to the Qt list, since I probably
have to get it working in Qt first, or?
Regards,
Helge
More information about the Qt-jambi-interest
mailing list