I defined a signal in myapp and emit it in very different places within code, but I need it just when my MY_DEFINED_FLAG is defined, my question is:
Do I should change every:
emit mySignal();
to
#ifdef MY_DEFINED_FLAG
emit mySignal();
#endif
?
and if the answer is "yes" then, is there a better idea?