Not generating my .moc files

So I have .moc files that need to be generated. I have AUTOMOC set to in my CMakeLists.txt and reference QObject in my headers.

How? Can you share the code?