Add the use of the qt_internal_project_setup function


The function sets the required CMake variables and policies.

Pick-to: 6.5
Task-number: QTBUG-112685
Change-Id: I87d1b85bf218149f6519ba56e2a3500c6b2f24b0
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit6786d4175027b8b8349ccca5af279066b5381d7d
parent714893ab14e825ac1f7bd7475b03e14664b301dd
authorAlexey Edelev <alexey.edelev@qt.io>
committerAlexey Edelev <alexey.edelev@qt.io>
commit timeWed, 3 May 2023 11:34:27 +0200