[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    When is a class added to the list of moc files
From:       Werner Modenbach <modenbach () alc ! de>
Date:       2000-04-17 16:43:16
[Download RAW message or body]

Recently we created a class which was derived from QFrame.
Everything worked fine until we tried to create a signal.
The linker reclaimed for a missing reference.
It took us a long while to find out that there is no meta object created from
our class. Where do I tell to build a meta object. Isn't it possible to do this
automatically when detecting signals or slots?

After we fixed this (by creating a new project and transfering the source to
the prebuild classes - our project ist still small ;-)) now we tried to connect
the signal to a slot of another class.
This seend to work fine, but unfortinately when I debug until the emit
statement the emit returns without calling the slot.

Do I have to take care about some specialities to make this work?

Thanks for any hints.

- Werner -

BTW: We are using kdevelop version 1.0

--
---------------------------------------
Werner Modenbach		 modenbach@alc.de
ALC Computertechnik GmbH	 http://www.alc.de

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic