CMake: Fix qml module version to use the repo project version


Use PROJECT_VERSION instead of CMAKE_PROJECT_VERSION, so that the
repo project version is used in a top-level build, rather
than the version of the qt5 project.

Pick-to: 6.1 6.0
Task-number: QTBUG-92861
Change-Id: I696ca5b6c47bf59cb27a463a46cfd3222fb71df6
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit9223814afed7691fbf650fd28b0d365f71a29656
parent7518bbbab7f8c5df021a253cd4bf264dde20e743
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeThu, 15 Apr 2021 14:54:59 +0200