The essence of the question as it looms from the title.

Zen guys who work often with Qt - tell me.

    1 answer 1

    If your class is not inherited from QObject and does not use signals and slots, then this macro is not needed, even if you use Qt libraries in your code. So the answer is no, not mandatory.