gentoo-ebuilds/media-libs/opencv/files/opencv-4.11.0-qt-6.9.patch
Paul Zander b9d43224ed
media-libs/opencv: add 4.11.0
Bug: https://bugs.gentoo.org/947031
Closes: https://bugs.gentoo.org/953397
Closes: https://bugs.gentoo.org/953304
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41967
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-08 07:26:48 +01:00

19 lines
829 B
Diff

From: Atri Bhattacharya <badshah400@gmail.com>
See-also: https://github.com/opencv/opencv/issues/27223#issuecomment-2797750952
---
modules/highgui/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: opencv-4.11.0/modules/highgui/CMakeLists.txt
===================================================================
--- opencv-4.11.0.orig/modules/highgui/CMakeLists.txt
+++ opencv-4.11.0/modules/highgui/CMakeLists.txt
@@ -125,7 +125,7 @@ elseif(HAVE_QT)
endif()
foreach(dt_dep ${qt_deps})
- add_definitions(${Qt${QT_VERSION_MAJOR}${dt_dep}_DEFINITIONS})
+ link_libraries(${Qt${QT_VERSION_MAJOR}${dt_dep}})
include_directories(${Qt${QT_VERSION_MAJOR}${dt_dep}_INCLUDE_DIRS})
list(APPEND HIGHGUI_LIBRARIES ${Qt${QT_VERSION_MAJOR}${dt_dep}_LIBRARIES})
endforeach()