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: Ia47ac7815383afe01d71387f50e50e00d4b57757
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit04f3f16399e1b77ac3f2fb0e2531e03b1c89ce27
parenteceabfd04fca8ebc484b4b9a5e6d7dccaec8dcbb
authorAlexey Edelev <alexey.edelev@qt.io>
committerAlexey Edelev <alexey.edelev@qt.io>
commit timeWed, 3 May 2023 12:20:04 +0200