c++ - qt preprocessor -
what order of compiling in qt? understood impossible write
#define begin_signals signals:
is way make conditional compilation using
#ifdef qt signals: #endif
just tested ,
#define begin_signals signals:
does work expected since moc preprocessing well.
order of compilation qobject
class myqobject
-
start moc myqobject.h moc run c preprocessor moc produces moc_myobject.cpp file moc_myobject.cpp compiled native compiler
myqobject.cpp
compiled native compiler before or after this.
be mindful word signals
macro translates protected
when native compiler used. i'm not sure why ever want define begin_signals
Comments
Post a Comment