Well, if MOC doesn't want to handle preprocessor code, then you can do it manually.