[Kde-bindings] Undefined Reference to 'typeinfo for ....
Fabien Renaud
renaud at nentec.de
Wed May 19 13:23:57 UTC 2004
I have now some errors like this :
QScrollBar.java:9: org.kde.qt.QScrollBar is not abstract and does not
override abstract method bound(int) in org.kde.qt.QRangeControlInterface
public class QScrollBar extends QWidget implements QRangeControlInterface {
^
QPopupMenu.java:46: org.kde.qt.QPopupMenu is not abstract and does not
override abstract method findItem(int) in org.kde.qt.QMenuDataInterface
public class QPopupMenu extends QFrame implements QMenuDataInterface {
^
QMenuBar.java:46: org.kde.qt.QMenuBar is not abstract and does not
override abstract method findItem(int) in org.kde.qt.QMenuDataInterface
public class QMenuBar extends QFrame implements QMenuDataInterface {
And there is some classes which use Calendar whereas they not import
java.util. Is there a problem or it´s me ?
Fabien
Richard Dale wrote:
>On Wednesday 19 May 2004 10:42, Fabien Renaud wrote:
>
>
>>Fabien Renaud wrote:
>>
>>
>>>Ok, I now have all the .java
>>>What is the easiest way to compile them all ?
>>>javac searches in org.kde.qt ( and of course doesn´t find ).
>>>Have I to put all .java in this directory first ?
>>>
>>>
>>>Fabien
>>>
>>>_______________________________________________
>>>Kde-bindings mailing list
>>>Kde-bindings at kde.org
>>>https://mail.kde.org/mailman/listinfo/kde-bindings
>>>
>>>
>>I move the files in org/kde/qt that I created and now I have this :
>> > javac QXmlLocator.java
>>
>>QXmlLocator.java:4: cannot access org.kde.qt.Qt
>>bad class file:
>>/home/commgw/renaud/commbox/qtjava_definitive/org/kde/qt/Qt.java
>>file does not contain class org.kde.qt.Qt
>>Please remove or make sure it appears in the correct subdirectory of the
>>classpath.
>>import org.kde.qt.Qt;
>>
>>whereas I´m in this directory
>>/home/commgw/renaud/commbox/qtjava_definitive/org/kde/qt
>>and there is Qt.java
>>
>>
>I think that's because you've only specified a single source file to javac.
>You need all the files and to add ../../.. to the classpath:
>
>javac -d ../../.. -classpath ./../../.. *.java
>
>Normally automake would generate the Makefile, so you can just type 'make'.
>
>
>
>
More information about the Kde-bindings
mailing list