qt5查找优化

This commit is contained in:
2026-08-03 10:56:46 +08:00
parent f110931ccf
commit 44cf49c0e2
+1 -2
View File
@@ -6,8 +6,7 @@ if (NOT renderive_dependencies_installed)
message(STATUS "renderive_Core 依赖未安装,请先构建 renderive_env 目标")
return()
else ()
set(Qt5_DIR "C:/Qt/Qt5.14.2/5.14.2/msvc2017_64/lib/cmake/Qt5" CACHE PATH "Qt5 cmake config dir" FORCE)
find_package(Qt5 CONFIG REQUIRED COMPONENTS Core
find_package(Qt5 MODULE REQUIRED COMPONENTS Core
Gui Widgets
Svg Xml
PrintSupport