Hello all,

Got this error upon trying to compile against latest Qt 4.7 snapshot:

library.java.compile:
    [javac] Compiling 734 source files to /home/helge/devel/jambi-4.6-build
    [javac]
/home/helge/devel/jambi-4.6-build/com/trolltech/qt/core/QDataStream.java:71:
duplicate case label
    [javac]             case 12: return Qt_4_7;
    [javac]             ^
    [javac] Note:
/home/helge/devel/jambi-4.6-build/com/trolltech/qt/QNoSuchPropertyException.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error


rgrep -I src/corelib Qt_4_7 revealed the following:

~/devel/qt-4.6-build/src/corelib/io/qdatastream.h:        Qt_4_7 = Qt_4_6

If I changed this to Qt_4.7 = 13 (unique enum), then things were OK again.

Could you give me a hint on how to accommodate for this?

Also saw this output from the generator:

[generator] WARNING(MetaJavaBuilder) :: Object type 'QGraphicsObject'
passed as value. Resulting code will not compile.

However, it did, so maybe I'm not taking this too seriously.

Helge
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to