From 81a34cf7f6ad458cc02740ebcb4be1e9042fb946 Mon Sep 17 00:00:00 2001 From: mio Date: Thu, 15 Aug 2024 16:54:05 +1000 Subject: 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 --- qtjava/javalib/org/trinitydesktop/qt/qtjava.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtjava') diff --git a/qtjava/javalib/org/trinitydesktop/qt/qtjava.java b/qtjava/javalib/org/trinitydesktop/qt/qtjava.java index 105fa3d3..af99170c 100644 --- a/qtjava/javalib/org/trinitydesktop/qt/qtjava.java +++ b/qtjava/javalib/org/trinitydesktop/qt/qtjava.java @@ -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(); -- cgit v1.2.1