[Kde-java] [PATCH] Make juic work again

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Apr 8 12:02:27 CEST 2004


On Wednesday 07 April 2004 19:25, Marco Ladermann wrote:
> I'm not sure if this stems form my usage of jdk
> 1.5.0-beta, but if I change the usage of KLineEdit to QLineEdit, everything
> works fine.
I've had a look at the stack trace, and the problem is that you were trying to 
instantiate a KLineEdit without instantiating a KApplication - the top level 
was still a QApplication.

C  [libkdecore.so.4+0x145082]  _ZNK9KInstance6configEv+0x12
C  [libkdecore.so.4+0x13dc72]  _ZN7KGlobal6configEv+0x22
C  [libkdecore.so.4+0x13e762]  _ZN15KGlobalSettings14completionModeEv+0x22
C  [libkdecore.so.4+0x15faa7]  _ZN15KCompletionBaseC2Ev+0x47
C  [libkdeui.so.4+0x14bece]  _ZN9KLineEditC2EP7QWidgetPKc+0x3e
C  [libkdejava.so.1.0.0+0x4c64c3]  
Java_org_kde_koala_KLineEdit_newKLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2+0x73

So, it's gone off into KInstance.config() within the KLineEdit constructor and 
crashed.

I misread your original post - I thought it worked with KLineEdit, but not 
QLineEdit.

-- Richard


More information about the Kde-java mailing list