[kaffe] ScribbleWindow exemple with QT

Guilhem Lavaux guilhem at kaffe.org
Mon Apr 19 07:56:03 PDT 2004


On Mon, 2004-04-19 at 11:42, Fabien Renaud wrote:
> Hello,
> 
Hi !

> when I want to compil ScribleWindow I have this error :
> 
>  > javac ScribbleWindow.java
> ScribbleWindow.java:39: error:Try to assign a value of type 
> "org.kde.qt.QColor" to a variable of type "org.kde.qt.QColor" [JLS 15.26]
> ScribbleWindow.java:159: error:Cannot find method 
> "org.kde.qt.QPixmap(org.kde.qt.QPixmap)"
> 
> 
>  > locate QPixmap
> /usr/opt/kde3/lib/java/org/kde/qt/QPixmap.class
> 
>  > echo $CLASSPATH
> /usr/opt/kde3/lib/java/org/kde/qt:/usr/opt/kde3/lib:/usr/opt/kde3/lib/java:/usr/opt/kde3/lib:/usr/opt/kde3/lib/java:.
> 

Which version of kaffe are you using ? I have tried with latest CVS
version and it seems to work for me. Previous KJC in the CVS seems also
to work. 

Cheers,

Guilhem.





More information about the kaffe mailing list