[Kde-java] UnsatisfiedLinkError
Clint Allen
clint at olympus.ws
Thu Oct 7 05:11:16 CEST 2004
Thanks guys! That's exactly what I needed.
Marco Ladermann said:
> 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