opencv/modules/highgui
Atri Bhattacharya e7728bb27d Fixed linking for HighGUI against Qt 6.9 and newer
Use `link_libraries` instead of `add_defintions` to link against Qt 6.9
and newer to avoid un-expanded generator expressions from Qt cmake files
being appended to linker flags when building the HighGUI module.

The actual bug is likely in how Qt cmake files end up with these
un-expanded generator expressions in the first place — see discussion in
https://bugreports.qt.io/browse/QTBUG-134774 — but the recommended way
to link against the library is to use `link_libraries` anyway, so this
fix should do the trick.

Fixes issue #27223.
2025-10-15 21:49:04 +05:30
..
cmake highgui: Make GThread mandatory with GTK 2024-07-15 16:30:39 +02:00
doc Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
include/opencv2 doc: upgraded for compatibility with doxygen 1.12 2024-12-09 23:08:18 +03:00
misc highgui: Make GThread mandatory with GTK 2024-07-15 16:30:39 +02:00
src Fixed -Wretrun-type warning in Highgui. 2025-10-13 10:35:00 +03:00
test Merge pull request #25661 from itlab-vision:framebuffer 2024-06-26 15:31:19 +03:00
CMakeLists.txt Fixed linking for HighGUI against Qt 6.9 and newer 2025-10-15 21:49:04 +05:30