Load tqtjava library instead of qtjava

Fixes a runtime error "no qtjava in java.library.path" since the
generated library name is 'libtqtjava.so'.

Signed-off-by: mio <stigma@disroot.org>
pull/43/head
mio 3 months ago
parent 334e979e3f
commit 81a34cf7f6

@ -269,7 +269,7 @@ public class qtjava {
public static void initialize() {
if (!_initialized) {
System.loadLibrary("qtjava");
System.loadLibrary("tqtjava");
qtjava.registerJVM();
qtjava.setJavaSlotFactory();
qtKeyToJavaMap = new WeakValueMap();

Loading…
Cancel
Save