Hi All,
I'm working on the compilation of qt-jambi and I have some troubles.
I've compiling with ant and I've the following error message.
I'm working on ubunu 9.04, qt 4.6.2 and qtjambi 4.5.2_01.
Can You help me please, I've been searching for days.

    [javac] Compiling 680 source files to /opt/qt-jambi
    [javac] /opt/qt-jambi/com/trolltech/qt/gui/QPixmapCache.java:27: 
find(java.lang.String,com.trolltech.qt.QNativePointer) is already defined in 
com.trolltech.qt.gui.QPixmapCache
    [javac]     public native static boolean find(java.lang.String key, 
com.trolltech.qt.QNativePointer pixmap);
    [javac]                                  ^
    [javac] /opt/qt-jambi/com/trolltech/qt/core/Qt.java:540: duplicate case 
label
    [javac]             case 0: return SHIFT;
    [javac]             ^
    [javac] /opt/qt-jambi/com/trolltech/qt/core/Qt.java:541: duplicate case 
label
    [javac]             case 0: return CTRL;
    [javac]             ^
    [javac] /opt/qt-jambi/com/trolltech/qt/core/Qt.java:542: duplicate case 
label
    [javac]             case 0: return ALT;
    [javac]             ^
    [javac] /opt/qt-jambi/com/trolltech/qt/core/Qt.java:543: duplicate case 
label
    [javac]             case 0: return MODIFIER_MASK;
    [javac]             ^
    [javac] /opt/qt-jambi/com/trolltech/qt/core/Qt.java:544: duplicate case 
label
    [javac]             case 0: return UNICODE_ACCEL;
    [javac]             ^
    [javac] /opt/qt-jambi/com/trolltech/qt/gui/QGraphicsWidget.java:61: 
threadCheck(com.trolltech.qt.core.QObject) in 
com.trolltech.qt.GeneratorUtilities cannot be applied to 
(com.trolltech.qt.gui.QGraphicsWidget)
    [javac]         com.trolltech.qt.GeneratorUtilities.threadCheck(this);
    [javac]                                            ^
    [javac] /opt/qt-jambi/com/trolltech/qt/gui/QGraphicsWidget.java:72: 
threadCheck(com.trolltech.qt.core.QObject) in 
com.trolltech.qt.GeneratorUtilities cannot be applied to 
(com.trolltech.qt.gui.QGraphicsWidget)
    [javac]         com.trolltech.qt.GeneratorUtilities.threadCheck(this);
    [javac]                                            ^
    [javac] /opt/qt-jambi/com/trolltech/qt/gui/QGraphicsWidget.java:86: 
threadCheck(com.trolltech.qt.core.QObject) in 
com.trolltech.qt.GeneratorUtilities cannot be applied to 
(com.trolltech.qt.gui.QGraphicsWidget)
    [javac]         com.trolltech.qt.GeneratorUtilities.threadCheck(this);
    [javac]                                            ^
    [javac] /opt/qt-jambi/com/trolltech/qt/gui/QGraphicsWidget.java:96: 
threadCheck(com.trolltech.qt.core.QObject) in 
com.trolltech.qt.GeneratorUtilities cannot be applied to 
(com.trolltech.qt.gui.QGraphicsWidget)
    [javac]         com.trolltech.qt.GeneratorUtilities.threadCheck(this);
    [javac]                                            ^
    [javac] /opt/qt-jambi/com/trolltech/qt/gui/QGraphicsWidget.java:106: 
threadCheck(com.trolltech.qt.core.QObject) in 
com.trolltech.qt.GeneratorUtilities cannot be applied to 
(com.trolltech.qt.gui.QGraphicsWidget)
    [javac]         com.trolltech.qt.GeneratorUtilities.threadCheck(this);


-----Message d'origine-----
De : [email protected] 
[mailto:[email protected]] De la part de 
[email protected]
Envoyé : lundi 3 mai 2010 16:04
À : [email protected]
Objet : [Qt-jambi-interest] R: qt-jambi 4.6.2 version.properties not found!


Downloaded Qt-jambi 4.6 (http://sourceforge.

net/projects/qtjambi/files/), groovy  1.7 (http://groovy.codehaus.org/ 
)
e java 1.6

I've installed groovy using default options.
Unpacked Qt-

jambi in c:\ and renamed the folder to c:\qt-jambi

Modified

“CLASSPATH” as follow:

c:\qt-jambi;c:\qt-jambi\qtjambi-4.6.2.jar;c:
\qt-
jambi\qtjambi-win32-msvc2005-4.6.2.jar;c:\qt-jambi\qtjambi-util-
4.6.2.
jar;c:\qt-jambi\qtjambi-examples-4.6.2.jar;C:\Program

Files\Groovy\Groovy-1.7.1\embeddable\groovy-all-1.7.1.jar

Modified

“PATH” as follow::

c:\qt-jambi\bin;C:\Programmi\Java\jre\bin;%

GROOVY_HOME%\bin

Created into c:\qt-jambi a file test.groovy:

import

com.trolltech.qt.gui.*
public static void main(String[] args){


QApplication.initialize(args)
QPushButton hello = new QPushButton

(“Hello World!”)
hello.show()
QApplication.exec()
}

From dos:

cd \qt-

jambi
groovyc   test.groovy
groovy test

I have tested 4.5.2_01 on this

windows 7 + java 1.6 + groovy 1.7 and it works fine.


----Messaggio 
originale----
Da: [email protected]
Data: 01/05/2010 21.42
A: "José 
Arcángel Salazar Delgado"<[email protected]>
Cc: "Lista-qt-
jambi"<[email protected]>
Ogg: Re: [Qt-jambi-interest] qt-
jambi 4.6.2 version.properties not found!

Hello!

version.properties 
is indeed a new file in community 4.6 compared to the
trolltec 4.5 
branch.

We need a code example to proceed, please!

Regards,
Helge 
Fredriksen

2010/5/1 José Arcángel Salazar Delgado <arcangel.
[email protected]>

> > > Hi,
> > >
> > > I'm a new qt-jambi user.
> > 
>
> > > I have installed qt-jambi 4.5.2 + java
> > > 1.5 + groovy 1.7 
on Windows XP and test a simple application with one
> > > QPushButton 
and it works.
> > >
> > > I tried to test the same application on
> > > 
windows 7 + qt-jambi 4.6.2 + java 1.6 + groovy 1.7 but this error occur

> > > on compiling:
> > >
> > > Caught: java.lang.
ExceptionInInitializerError: version.
> > > properties not found !
> > 
>
> > >         at button.class$(button.groovy)
> > >
> > > at 
button.$get$$class$com$trolltech$qt$gui$QApplication(button.groovy)
> > 
>
> > >         at button.run(button.groovy:3)
> > >
> > > Anyone can 
help ? Thanks in
> > > advance.
> >
> If you can give us more 
information about how do you do the test, I can
> reproduce to see what 
is wrong.
> >
> > > Risparmia con Tutto Incluso Light: telefono + adsl 
8 mega a soli 14,95
> €
> > > al mese.
> > >
> > > Gratis la Sim 
Tiscali Mobile con 25 euro di traffico!
> > >
> > > L'offerta è valida 
solo se attivi entro il 29/04/10
> > >
> > >
> http://abbonati.tiscali.
it/telefono-adsl/prodotti/tc/tuttoincluso_light/?
> > > WT .mc_id=01fw

> > >
> > > _______________________________________________
> > > Qt-
jambi-interest mailing list
> > > [email protected]
> > > 
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>
>
> 
---------- Forwarded message ----------
> From: "José Arcángel Salazar 
Delgado" <[email protected]
> >
> To: "Lista-qt-
jambi" <[email protected]>
> Date: Sat, 1 May 2010 00:26:
39 -0500
> Subject: Re: [Qt-jambi-interest] qt-jambi 4.6.2 version.
properties not
> found!
> > Hi,
> >
> > I'm a new qt-jambi user.
> >
> 
> I have installed qt-jambi 4.5.2 + java
> > 1.5 + groovy 1.7 on 
Windows XP and test a simple application with one
> > QPushButton and 
it works.
> >
> > I tried to test the same application on
> > windows 7 
+ qt-jambi 4.6.2 + java 1.6 + groovy 1.7 but this error occur
> > on 
compiling:
> >
> > Caught: java.lang.ExceptionInInitializerError: 
version.
> > properties not found !
> >         at button.class$(button.
groovy)
> >
> > at button.$get$$class$com$trolltech$qt$gui$QApplication
(button.groovy)
> >
> >         at button.run(button.groovy:3)
> >
> > 
Anyone can help ? Thanks in
> > advance.
> If you can give us more 
information about how do you do the test, I can
> reproduce to see what 
is wrong.
> >
> >
> > Risparmia con Tutto Incluso Light: telefono + 
adsl 8 mega a soli 14,95 €
> al
> > mese.
> >
> > Gratis la Sim Tiscali 
Mobile con 25 euro di traffico!
> >
> > L'offerta è valida solo se 
attivi entro il 29/04/10
> >
> >
> http://abbonati.tiscali.it/telefono-
adsl/prodotti/tc/tuttoincluso_light/?WT
> > .mc_id=01fw
> >
> > 
_______________________________________________
> > Qt-jambi-interest 
mailing list
> > [email protected]
> > http://lists.
trolltech.com/mailman/listinfo/qt-jambi-interest
>
> 
_______________________________________________
> Qt-jambi-interest 
mailing list
> [email protected]
> http://lists.trolltech.
com/mailman/listinfo/qt-jambi-interest
>
>

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





Risparmia con Tutto Incluso Light: telefono + adsl 8 mega a soli 14,95 € al 
mese.

Gratis la Sim Tiscali Mobile con 25 euro di traffico! 

L'offerta è valida solo se attivi entro il 06/05/10

http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso_light/?WT.mc_id=01fw

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

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

Reply via email to