Move Qt and runtime dependency deployment into CMake POST_BUILD steps#3506
Merged
Conversation
… and bundle packaging.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3506 +/- ##
==========================================
+ Coverage 80.33% 80.57% +0.23%
==========================================
Files 590 620 +30
Lines 63768 67021 +3253
Branches 19261 19885 +624
==========================================
+ Hits 51231 54005 +2774
- Misses 8786 9082 +296
- Partials 3751 3934 +183 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
shlzxjp
reviewed
Jun 15, 2026
shlzxjp
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
将 Qt、ffmovie、Sparkle 等运行时依赖的部署从打包脚本移入 CMake POST_BUILD 步骤,使开发者在本地构建后即可直接运行/调试,无需手动执行打包脚本。
主要变更
CMake 部署自动化
打包脚本重构 (build_mac.sh)
mergeUniversalBundle函数,统一处理 app/plugin bundle 的 universal binary 合并cleanAbsoluteRpaths改用临时文件避免子 shell 问题PAGExporter QML 路径改进
dladdr动态获取插件自身路径,推导出相对 Resources/qml 路径/Library/Application Support/PAGExporter/清理
copy_qt_resource.sh、replace_qt_path.sh(不再需要)PluginInstaller::CopyQtResource方法及其调用