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: I94ff185cf5f37b19959e620921b9c97fde1bfc07
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commitd1bd4d78d7361f5d909be3184ce8bab8c5417945
parent04a3129c52b64d4c53b7a13cc525a38153e3eca1
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeThu, 15 Apr 2021 14:54:55 +0200