tl;dr: C++ plugin needs to call Java .jar library. How to deploy this to users without too much headache?
I\'m writing a Qt plugin for a Qt applica
Since I can't figure out an equivalent to /DELAYLOAD
on Linux (asked here: How can I make lazy/delay loading work in Linux?), I'm stuck using dlopen()
. It's not as bad as I thought it would be -- I can use the technique described here: Alternatives to dlsym() and dlopen() in C++ . In fact, it seems like the jni.h header was designed for this approach. Probably what I should have done in the first place, on Windows too.