28. June 2009, 11:56AM
Comment by Sven Krohlas
Sadly that doesn't work here. The moc preprocessor needs to be run first to generate code to be able to use signals and slots, which then gets included in the normal source files. But that moc preprocessor doesn't understand #define. So the #defines are then interrpeted by the normal preprocessor which adds the slot definitions and... well, then it's too late, the moc preprocessor already ran. :-/