Use qmlRegisterAnonnymousType for anonymous type registration


qmlRegisterType without uri and major version is deprecated.

Change-Id: I772f7734301bec7cb0e20a6bbc1e4f7b513248b9
Fixes: QTBUG-80043
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
commitcd7edab940934fe8b100172e3e62e7eea5c354e5
parenta467eadd46bec7a66e2e97bc4fd3a5271430bc93
authorUlf Hermann <ulf.hermann@qt.io>
committerUlf Hermann <ulf.hermann@qt.io>
commit timeThu, 14 Nov 2019 16:34:04 +0100