I doubt this is possible at compile time as the connections are only made at runtime. If it helps, connect() returns false if a connection fails which you can use to catch with a macro.
Also this list is for the Creator IDE, not the language itself. Please post these questions to qt-interest et al. On Tue, Feb 2, 2010 at 1:40 AM, John Vilburn <[email protected]> wrote: > It would be very helpful if QtCreator took a pass through the code at > compile time looking for SIGNAL() and SLOT() macros with incorrectly defined > signals or slots. It is probably a bit much to ask of other development > environments, but it would sure be nice if Qt Creator could do this. This is > one error that is pretty common for me and it is a pain to wait until run > time to catch the problem. > > Even better would be if some super-smart developer could figure out how to > rewrite the SIGNAL and SLOT macros so that this type of checking would > happen at compile time in any development environment. > > John > > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
