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: Ib64efab358ff76cb7c1cd6ebfd75f2af5999821d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit31f5e0793217262e867a836719407ad311d61b13
parent45cd42b6697ccb007e66074aac14cf349359d37c
authorAlexey Edelev <alexey.edelev@qt.io>
committerAlexey Edelev <alexey.edelev@qt.io>
commit timeWed, 3 May 2023 11:34:33 +0200