[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: FYI: qt peers and loadLibrary
From: |
Tom Tromey |
Subject: |
[cp-patches] Patch: FYI: qt peers and loadLibrary |
Date: |
03 Oct 2005 15:46:23 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
I'm checking this in.
For libgcj we don't want to use loadLibrary to find the JNI code.
Instead we just link it directly into the peer library.
Tom
2005-10-03 Tom Tromey <address@hidden>
* gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Use Configuration
to see if library should be loaded.
Index: gnu/java/awt/peer/qt/QtToolkit.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/java/awt/peer/qt/QtToolkit.java,v
retrieving revision 1.4
diff -u -r1.4 QtToolkit.java
--- gnu/java/awt/peer/qt/QtToolkit.java 23 Aug 2005 02:13:48 -0000 1.4
+++ gnu/java/awt/peer/qt/QtToolkit.java 3 Oct 2005 21:02:37 -0000
@@ -37,6 +37,7 @@
package gnu.java.awt.peer.qt;
+import gnu.classpath.Configuration;
import gnu.java.awt.EmbeddedWindow;
import gnu.java.awt.peer.ClasspathFontPeer;
import gnu.java.awt.peer.EmbeddedWindowPeer;
@@ -135,7 +136,8 @@
{
eventQueue = new EventQueue();
repaintThread = new QtRepaintThread();
- System.loadLibrary("qtpeer");
+ if (Configuration.INIT_LOAD_LIBRARY)
+ System.loadLibrary("qtpeer");
String theme = null;
try
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Patch: FYI: qt peers and loadLibrary,
Tom Tromey <=