diff options
| author | Joerg Bornemann <joerg.bornemann@qt.io> | 2025-12-12 17:50:20 +0100 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2025-12-13 10:47:20 +0100 |
| commit | 2d65847d6473ef164f61f7cc2257387f41cd5efc (patch) | |
| tree | fed2c8e80a630944d0dcf9a2e554083e2cee670c /src/widgets/doc/snippets/dialogs | |
| parent | 215ad9cac1c431638567a5ccb6dd2359f32038b5 (diff) | |
CMake: Adjust PCH generation for linked private Qt modules
QtMultimediaQuick links against QtMultimediaPrivate. Since
QtMultimediaPrivate is an interface library, we did not add its master
header to the precompiled headers of QtMultimediaQuick. However, it's
likely that if one uses a private module then headers of the public
module are used.
Now, we don't discard all interface libraries in
qt_update_precompiled_header_with_library but
- detect if it's a private Qt module
- retrieve the public Qt module target
- call qt_update_precompiled_header_with_library with that
Fixes: QTBUG-142078
Change-Id: Ic0eff21b8265cd622202efdd4ffd878e1f1fdea1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/dialogs')
0 files changed, 0 insertions, 0 deletions
