Use ecm_find_qmlmodule in cmake
Make use of the ECMFindQmlModule module to make sure things will work at runtime. This will probably catch problems like the KNewStuff issue (#1425 (closed) and #1192 (closed)) we faced several times in the past due to regression. It unfolds it full power if we also submit patches to the (kde framwork) dependencies upstream.
Edited by Julius Künzel