From 29987191d07b5e70f733d03c24d9c06298df1082 Mon Sep 17 00:00:00 2001 From: gaozheng Date: Sun, 7 Jun 2026 19:42:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor(core):=20geopro=5Fcore=20=E5=85=B3?= =?UTF-8?q?=E9=97=AD=20AUTOMOC/UIC/RCC,=20=E4=BF=9D=E6=8C=81=20core=20?= =?UTF-8?q?=E7=BA=AF=E5=87=80(=E6=97=A0=E5=85=B3=20Qt)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 64271cf..c8f2086 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -9,3 +9,5 @@ target_link_libraries(geopro_core PUBLIC Eigen3::Eigen) target_compile_features(geopro_core PUBLIC cxx_std_17) # 铁律:core 为纯业务逻辑层,绝不链接 Qt / VTK。 +# 顶层全局开启了 AUTOMOC/UIC/RCC(为 view/app 服务);core 与 Qt 无关,显式关闭,保持纯净。 +set_target_properties(geopro_core PROPERTIES AUTOMOC OFF AUTOUIC OFF AUTORCC OFF)