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