mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Fixed OpenCV World module build with QT 5.
This commit is contained in:
@@ -84,7 +84,7 @@ endif()
|
||||
ocv_target_compile_definitions(${the_module} PRIVATE OPENCV_MODULE_IS_PART_OF_WORLD=1)
|
||||
|
||||
# NOTE: https://github.com/opencv/opencv/issues/25543
|
||||
if (WITH_QT)
|
||||
if (WITH_QT AND QT_VERSION_MAJOR GREATER 5)
|
||||
qt_disable_unicode_defines(${the_module})
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user