--- ui/zenoio/CMakeLists.txt.orig	2024-09-30 13:46:54 UTC
+++ ui/zenoio/CMakeLists.txt
@@ -1,8 +1,8 @@
-find_package(Qt5 REQUIRED COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Widgets)
 
 file(GLOB_RECURSE source CONFIGURE_DEPENDS *.h *.cpp *.ui)
 file(GLOB_RECURSE resource CONFIGURE_DEPENDS *.qrc)
-qt5_add_big_resources(source ${resource})  # cihou msvc: fatal error C1060: compiler is out of heap space
+qt6_add_big_resources(source ${resource})  # cihou msvc: fatal error C1060: compiler is out of heap space
 
 add_library(zenoio OBJECT ${source})
 
@@ -14,7 +14,6 @@ if (ZENO_DEBUG_MSVC)
     zeno_dbg_msvc(zenoio)
 endif()
 
-target_link_libraries(zenoio PUBLIC Qt5::Widgets)
+target_link_libraries(zenoio PUBLIC Qt6::Widgets)
 target_link_libraries(zenoio PUBLIC zeno)
-target_include_directories(zenoio PRIVATE ${Qt5Widgets_PRIVATE_INCLUDE_DIRS})
 target_include_directories(zenoio PRIVATE .. ../include)
