From 92ea2c324b9b033fd7329bacad1037ac3edeab31 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Fri, 5 Dec 2025 08:45:32 +0300 Subject: [PATCH] Fixed unicode tracing symbols with QT. --- modules/world/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/world/CMakeLists.txt b/modules/world/CMakeLists.txt index b6a0fedde1..8c580ed1b2 100644 --- a/modules/world/CMakeLists.txt +++ b/modules/world/CMakeLists.txt @@ -83,6 +83,11 @@ 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) + qt_disable_unicode_defines(${the_module}) +endif() + if(BUILD_opencv_imgcodecs AND OPENCV_MODULE_opencv_imgcodecs_IS_PART_OF_WORLD) ocv_imgcodecs_configure_target() endif()