Use more target-centric cmake code
ecm_create_qm_loader is another candidate to take a target optionally, that will save another cmake variable.
Will be possible to use with this: extra-cmake-modules!124 (merged)
Edited by Friedrich W. H. Kossebau