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