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: I2feef841541ea430a340fe08cdd454bebae358fd
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commitc2a6fc77829570dab5debf04b4082ce43500c158
parentb475a8222c62e8074100bc095ccf5a9acac76e99
authorAlexey Edelev <alexey.edelev@qt.io>
committerAlexey Edelev <alexey.edelev@qt.io>
commit timeWed, 31 May 2023 13:55:58 +0200