[Kde-java] "QObject.connect: No such argument type" error

Olivier Dragon dragonoe at mcmaster.ca
Sat Dec 4 00:03:13 CET 2004


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    ( dragonoe at mcmaster.ca \
/  B.Eng. Sfwr   (     )    \    \  \    \
/  /  /    /__--_ (   ) __--__\    \  \  \
|  /  /  _/        \_ \_       \_  \  \  |
 \/  / _/            \_ \_       \_ \  \/
  \_/ /                -\_\        \ \_/
    \/                    )         \/
                        *~
        ___--<***************>--___
       [http://dragon.homelinux.org]
        ~~~--<***************>--~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/kde-java/attachments/20041203/6a049710/attachment.pgp


More information about the Kde-java mailing list