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: I9e903e87fa2adf0eb884df5c6e2e369c9d373d35
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commitc71453bcdab1e762ba699854db733c6f9ef00a62
parenta595c501c462047459d92e102b2427513ac9dd57
authorAlexey Edelev <alexey.edelev@qt.io>
committerAlexey Edelev <alexey.edelev@qt.io>
commit timeWed, 3 May 2023 11:31:53 +0200