[Kde-java] UnsatisfiedLinkError
Marco Ladermann
marco.ladermann at gmx.de
Wed Oct 6 19:50:29 CEST 2004
Am Mittwoch, 6. Oktober 2004 19:39 schrieb Olivier Dragon:
> Actually that error will probably keep happening because he's using a
> KDE class, not a QT one. So you must have
>
> static
> {
> org.kde.qt.qtjava.initialize(); // init QT
> org.kde.koala.kdejava.initialize(); // init KDE
> }
You're right. I just copied the lines from the first Java program I found in
my QT/KDE subdirectories. If I had taken the second one, the above would have
been the lines I had posted...
BTW: If yor use the QT-Designer and juic to generate your classes, the
initializing code is generated automatically.
Marco
--
KISS - keep it small and simple
More information about the Kde-java
mailing list