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: I4c68c4c919e14cc797a682e6348aab2630e645e7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit837cb6f400ee087c418df9c7e2c9f63a2046b5d6
parentf57df458691bc2a2a8fc7054950b329bca0720bf
authorAlexey Edelev <alexey.edelev@qt.io>
committerAlexey Edelev <alexey.edelev@qt.io>
commit timeWed, 3 May 2023 11:34:13 +0200