summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_win_p.h
diff options
context:
space:
mode:
authorAlexandru Croitor <[email protected]>2025-06-27 14:30:29 +0200
committerAlexandru Croitor <[email protected]>2025-06-28 12:08:15 +0200
commit9e05e86f973fc820f8fba4ea6edbfb210eeae1b5 (patch)
tree84da43526c70b85e7301f1417d5234b596224702 /src/gui/image/qpixmap_win_p.h
parente5510913a14d5a92a64a8e6ebf7524c01b1f739e (diff)
CMake: Work around AUTOGEN discarded dependencies for in-tree examplesHEADdev
When building qt examples in-tree, in a cross-compiling case, with a CMake version lower than 4.0, we lose AUTOGEN dependencies due to a bug in cmake. To ensure the dependencies are not lost, we need to apply the same workaround we did for internal Qt targets. For targets created by Qt's public API, we now query the target's LINK_LIBRARIES and INTERFACE_LINK_LIBRARIES at finalizer time, and add them to the AUTOGEN dependencies. The implementation is also modified to remove duplicates. We only apply the behavior in public API when QT_BUILDING_QT is true, to reduce the risk for regular user projects. The assumption here is when building a user project, Qt is already fully built, so we don't need to ensure that Qt's sync headers and autogen targets are up to date. Pick-to: 6.5 6.8 6.9 6.10 Fixes: QTBUG-137587 Task-number: QTBUG-133725 Change-Id: I61bd799ca39d92702ca0fc48d54bb517fc55baeb Reviewed-by: Alexey Edelev <[email protected]>
Diffstat (limited to 'src/gui/image/qpixmap_win_p.h')
0 files changed, 0 insertions, 0 deletions