cmQtAutogen: Allow specifying depends for autogen targets.

Test this by generating files with a custom target, which require
processing by automoc.

Lift the restriction of automoc on processing generated files. Instead,
mark the generated _automoc file as skipped for automoc purposes.
Merge topic 'autogen-depends' into next

ae016fa cmQtAutogen: Allow specifying depends for autogen targets.