CMake: Clean up target dependencies


The 3DCorePrivate module should not be linked publicly.
The 3DLogic linkage should be prepended with the Qt:: namespace.

Pick-to: 6.8 6.10
Change-Id: I6c8c77167250a95a2c0ccc56fe3c1aca93eba9a1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commitdddb2ce03ad810ed794efc4cfd5aa4329bae7376
parent1683fa3130b9eae00f0c260b6744ce7ad931eb04
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeThu, 16 Oct 2025 16:55:05 +0200