Move `qt_internal_project_setup` as early as possible


The earliest we can move this is right after finding `BuildInternals`.
This allows us to add function calls before navigating the
`find_package` tree of the dependents.

Task-number: QTBUG-135233
Change-Id: Ie2b68ac7e6bcaf20b415c314a3a01f162287279d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit429bab2bf3a6e24219dae050f9c1e8c44c8ad935
parent33a7712b70dcad4ea32b04aef3bb583bf8bfe65c
authorCristian Le <cristian.le@qt.io>
committerJoerg Bornemann <joerg.bornemann@qt.io>
commit timeThu, 25 Sep 2025 13:36:49 +0200