mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
Merge pull request #27908 from badshah400:4.x
Fixed linking for HighGUI against Qt 6.9 and newer
This commit is contained in:
commit
1bf1b91a58
|
|
@ -125,7 +125,7 @@ elseif(HAVE_QT)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
foreach(dt_dep ${qt_deps})
|
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})
|
include_directories(${Qt${QT_VERSION_MAJOR}${dt_dep}_INCLUDE_DIRS})
|
||||||
list(APPEND HIGHGUI_LIBRARIES ${Qt${QT_VERSION_MAJOR}${dt_dep}_LIBRARIES})
|
list(APPEND HIGHGUI_LIBRARIES ${Qt${QT_VERSION_MAJOR}${dt_dep}_LIBRARIES})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user