CMake: Don't publicly propagate private Qt modules for public modules
This causes user projects to automatically find the private Qt module
packages and expose the Private targets and their headers, without the
user project explicitly opting into this, and without showing them a
warning.
Pick-to: 6.10
Task-number: QTBUG-138712
Change-Id: I63db9259bc6145cb247523896bcfd9f8f163f0f7
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
| commit | 5571a1e37ea6b9ddf717125b10e26234e7827bc8 |
| parent | 0af912b8c29a8b90f2bcd3ba047958d8bd97c6dd |
| author | Alexandru Croitor <alexandru.croitor@qt.io> |
| committer | Alexandru Croitor <alexandru.croitor@qt.io> |
| commit time | Tue, 29 Jul 2025 17:19:19 +0200 |