Relative Content

Tag Archive for qtcmakemoc

How to tell gcc that my source contains Q_OBJECT?

I am trying to compile an object file, for C++/Qt; but I receive the warning below, stating that there is no “Q_OBJECT” in my code.
Do I miss something? (my CMakeList.txt contains set(CMAKE_AUTOMOC ON))