diff options
author | mio <stigma@disroot.org> | 2024-08-15 16:54:05 +1000 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-15 18:31:01 +0900 |
commit | 8db0c3ad9890986651efcb4ccce9f3eb1ad50e1c (patch) | |
tree | c7bed4288037bbae187938f3c1c75423b50166bc | |
parent | 426a1bdb3e78215b3f36cbdee7d04849edb1f388 (diff) | |
download | tdebindings-8db0c3ad9890986651efcb4ccce9f3eb1ad50e1c.tar.gz tdebindings-8db0c3ad9890986651efcb4ccce9f3eb1ad50e1c.zip |
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>
(cherry picked from commit 81a34cf7f6ad458cc02740ebcb4be1e9042fb946)
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/qtjava.java | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |