Use ECMSetupQtPluginMacroNames to help cmake's automoc
The macro helps to:
- tell automoc why the file needs a moc include
- create a build dependency on the JSON file
- pass that info automatically on to projects linking against KDB (when using CMake)
Cmp. use in KReport: kreport@6ef298ef