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