PDF Viewing Support (poppler-qt4)

Adam Batkin adam at batkin.net
Wed Feb 13 18:36:53 CET 2008


I'm looking to be able to view PDFs in a Jambi app that I'm working on. So I thought I'd
try porting poppler (http://poppler.freedesktop.org/) to Jambi!

First I tried playing with the Jambi Generator. I ran in to a bit of trouble there (mostly
the complexity/lack of documentation, and the fact that all of the bits I needed to use
were in the Poppler namespace, and the generator docs claim it doesn't handle namespaces
except for enums).

So I went the hand-coded JNI route. Everything seems to be working up to the point where I
have a native C++ QImage, and I want to stuff that into a Jambi (Java) QImage, and I have
no idea where to go from here.

Ideas? Thanks,

-Adam Batkin



More information about the Qt-jambi-interest mailing list