From 475cb54d736c0b5c68bf3687c0347791c6b2d965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Sat, 30 Dec 2023 22:03:49 +0800 Subject: [PATCH] update --- .github/workflows/macos.yml | 2 ++ example/CMakeLists.txt | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8bbc1091..acd57747 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -55,6 +55,8 @@ jobs: - name: package run: | + # 先删除所有dSYM文件,减少包的体积 + sudo find /Users/runner/work/FluentUI/Qt/6.6.1/macos/qml -name "*.dSYM" | xargs rm -r # 拷贝依赖 sudo macdeployqt bin/release/${targetName}.app -qmldir=. -dmg diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 0e6b3ce5..d70b69ba 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -9,11 +9,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) #导入exmaple的QML位置,不然import example有时候会爆红 set(QML_IMPORT_PATH ${CMAKE_BINARY_DIR}/example CACHE STRING "Qt Creator extra QML import paths" FORCE) -if(APPLE) - set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf") - set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT[variant=Release] "dwarf") -endif() - #判断FluentUI库类型 if(FLUENTUI_BUILD_STATIC_LIB) add_definitions(-DFLUENTUI_BUILD_STATIC_LIB)