Doc: Update documentation on how to integrate with QML


You should not use qmlRegisterType()

Fixes: QTBUG-107209
Pick-to: 6.4 6.2
Change-Id: I98c3c84d3e6d1334eedef98a55ead7c2adef89e1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
commita7e44fcdcc463f2698c5c896fa64f66b72837151
parent03b955af366abc367400e01c1aa6d77a2c2253b0
authorUlf Hermann <ulf.hermann@qt.io>
committerFabian Kosmale <fabian.kosmale@qt.io>
commit timeMon, 17 Oct 2022 06:30:24 +0000