1
0
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:
Alexander Smorkalov
2026-05-07 15:13:33 +03:00
parent bf4a5803c6
commit e98e3ffc17
+1 -1
View File
@@ -84,7 +84,7 @@ endif()
ocv_target_compile_definitions(${the_module} PRIVATE OPENCV_MODULE_IS_PART_OF_WORLD=1) ocv_target_compile_definitions(${the_module} PRIVATE OPENCV_MODULE_IS_PART_OF_WORLD=1)
# NOTE: https://github.com/opencv/opencv/issues/25543 # 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}) qt_disable_unicode_defines(${the_module})
endif() endif()