Port to new CMake API for QML


This is a low-risk port that leaves all the procedural registration
intact and just uses the CMake syntax.

Change-Id: I5cfbf345977e5ea522ce2da6111c1fe293be6a2c
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
commitf2b6e5f4a1e5fa858a5edaa668669073fc20beea
parentad85513d4b38bdedac27a095bd3a988f1eda23a2
authorUlf Hermann <ulf.hermann@qt.io>
committerUlf Hermann <ulf.hermann@qt.io>
commit timeSat, 5 Jun 2021 09:04:06 +0200