]> git.lyx.org Git - features.git/blobdiff - src/graphics/CMakeLists.txt
prevent Qt6 from defining UNICODE (Qt6.1.1 and upwards)
[features.git] / src / graphics / CMakeLists.txt
index a6fbffa23e85fede5dc65a00eb7300b91edec115..fcdeb2418683d5c5af7621e0533661e2ccb5dda0 100644 (file)
@@ -21,7 +21,7 @@ else()
        lyx_const_touched_files(_allinone  graphics_sources)
        add_library(graphics ${library_type} ${_allinone_files})
 endif()
-set_target_properties(graphics PROPERTIES FOLDER "applications/LyX")
+set_target_properties(graphics PROPERTIES FOLDER "applications/LyX" QT_NO_UNICODE_DEFINES TRUE)
 qt_use_modules(graphics Core)
 
 lyx_add_gcc_pch(graphics)