Simplify QML module definition and remove CMake warning


This removes a warning about using the QT_QML_SOURCE_VERSION source
property, which was recently renamed. It is more appropriate to set
the module's PAST_MAJOR_VERSIONS instead, which means the source
property doesn't have to be explicitly set any more.

Pick-to: 6.2
Change-Id: I6aefaae2ba10ab785b896e4d5a91a921fbf56e2a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit6b11da61970c9eba52f258106840a43a6fd6c18c
parent671e925d698e89112e3cf06885472b15eb212ca8
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeMon, 6 Sep 2021 11:44:20 +0200