Re: [Qt-jambi-interest] Jambi and JNI Integration

2008-07-08 Thread Eskil Abrahamsen Blomfeldt
Adam Batkin wrote: Anyway, I've now set out to write my own JNI code to do what I want, instead of using the Jambi Generator. Everything was working nicely until trying to transfer a QImage from C++ to a Java/Jambi QImage. Back in February, Gunnar suggested stealing some logic from the

Re: [Qt-jambi-interest] Jambi and JNI Integration

2008-07-08 Thread Adam Batkin
Initializing my QApplication first does in fact solve the problem. I'm not sure how I missed that (*smacks forehead*). Mostly because I was doing this in a 4-line test harness and not an actual program (which would of course have initialized QT since using QT Jambi is the whole point of this

[Qt-jambi-interest] Jambi and JNI Integration

2008-07-07 Thread Adam Batkin
Hi, I had posted a while back about wrapping the Poppler PDF library using QT Jambi, so that it could be used from Java. Although Poppler uses C++ Namespaces, I wrapped the 3 or 4 functions that I wanted in my own class, used the Jambi Generator and everything was great. At the time, it was