[Qt-interest] declare signals and slots in macros

Andrea Franceschini therealmorpheu5 at gmail.com
Fri Mar 13 11:23:47 CET 2009


2009/3/13 Nathan Carter <nathancarter5 at gmail.com>:

> So I don't think that the transformation you describe
> below should "make a lot of things go wrong."

Of course it does: If the moc doesn't find the right hint, it doesn't
make the given functions into slots so that I am left with a bunch of
public members returning void. This of course results in the runtime
error "Object::connect: No such slot".

-- 
Andrea



More information about the Qt-interest-old mailing list