Olivier Dragon
2004-12-03 23:03:13 UTC
Hi,
I'm trying to write a QT/KDE app in Java and I'm running into an error
which I cannot figure out. I wrote a little test program and it appears
that objects from classes in a different package than the current one
cannot be connect()ed to from this current class. But it seems to work
for standard java objects as well as QT objects.
For example, lets say I have the following files:
SignalSlotTest.java
datastruct/TestQObject.java
I've attached the files to this email. When I run SignalSlotTest I get
this error: QObject.connect: No such argument type: TestQObject
I'm running this from Eclipse using these version of java:
java version "1.4.2-rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-rc1)
Java HotSpot(TM) Client VM (build Blackdown-1.4.2-rc1, mixed mode)
I would greatly appreciate any help on this.
Thank you,
-Olivier
--
__-/| ? ? |\-__
__--/ / \ (^^) / \ \--__
_-/ / / /\ / ( ) /\ \ \ \-_
/ / / / / ( ^^ ~ \ \ \ \ \
/ Oli Dragon ( ***@mcmaster.ca \
/ B.Eng. Sfwr ( ) \ \ \ \
/ / / /__--_ ( ) __--__\ \ \ \
| / / _/ \_ \_ \_ \ \ |
\/ / _/ \_ \_ \_ \ \/
\_/ / -\_\ \ \_/
\/ ) \/
*~
___--<***************>--___
[http://dragon.homelinux.org]
~~~--<***************>--~~~
I'm trying to write a QT/KDE app in Java and I'm running into an error
which I cannot figure out. I wrote a little test program and it appears
that objects from classes in a different package than the current one
cannot be connect()ed to from this current class. But it seems to work
for standard java objects as well as QT objects.
For example, lets say I have the following files:
SignalSlotTest.java
datastruct/TestQObject.java
I've attached the files to this email. When I run SignalSlotTest I get
this error: QObject.connect: No such argument type: TestQObject
I'm running this from Eclipse using these version of java:
java version "1.4.2-rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-rc1)
Java HotSpot(TM) Client VM (build Blackdown-1.4.2-rc1, mixed mode)
I would greatly appreciate any help on this.
Thank you,
-Olivier
--
__-/| ? ? |\-__
__--/ / \ (^^) / \ \--__
_-/ / / /\ / ( ) /\ \ \ \-_
/ / / / / ( ^^ ~ \ \ \ \ \
/ Oli Dragon ( ***@mcmaster.ca \
/ B.Eng. Sfwr ( ) \ \ \ \
/ / / /__--_ ( ) __--__\ \ \ \
| / / _/ \_ \_ \_ \ \ |
\/ / _/ \_ \_ \_ \ \/
\_/ / -\_\ \ \_/
\/ ) \/
*~
___--<***************>--___
[http://dragon.homelinux.org]
~~~--<***************>--~~~