Modernize and update to latest CMake API


Use declarative registration for QML types, and separate the backing
library from the plugin. Also, bump the revision numbers to account for
Qt6 and drop the "2" from the source directory name.

Change-Id: Ib48f90ad32a3624e7c31f1d2af9fcd92f069ee7f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commit8691caff2b685aba4b1e83292de6c4d34775ec0b
parente0713ad6f89eac8a4e7cbb5adfaf4daf6a91ca3c
authorUlf Hermann <ulf.hermann@qt.io>
committerUlf Hermann <ulf.hermann@qt.io>
commit timeFri, 11 Jun 2021 10:24:41 +0200