summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormio <stigma@disroot.org>2024-08-15 16:54:05 +1000
committermio <stigma@disroot.org>2024-08-15 16:54:05 +1000
commit81a34cf7f6ad458cc02740ebcb4be1e9042fb946 (patch)
tree306c65f9aff140d39f16dcf4389da5faf2515f6c
parent334e979e3f69d5cdb6638b5a126cce62e11f97ae (diff)
downloadtdebindings-81a34cf7f6ad458cc02740ebcb4be1e9042fb946.tar.gz
tdebindings-81a34cf7f6ad458cc02740ebcb4be1e9042fb946.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>
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/qtjava.java2
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();