File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change 5353| 0.1.1| 配置文件拆分|
5454| 0.1.2| Windows可以自动打包、发布|
5555| 0.1.3| Windows和MacOS可以同时自动打包、发布|
56+ | 0.1.4| 增加Qt版本;更新打包功能|
57+
58+ ## 支持平台
59+
60+ 0.2.0版本开始,增强了平台和Qt版本的支持。
61+
62+ 以下列出通过验证并支持的编译环境:
63+
64+ ### Windows
65+
66+ windows宿主平台是server 2019,支持的目标环境包括:
67+
68+ * Qt5.9.9-msvc2015-x86
69+ * Qt5.9.9-msvc2017-x64
70+ * Qt5.12.10-msvc2017-x86
71+ * Qt5.12.10-msvc2017-x64
72+ * Qt5.15.2-msvc2019-x86
73+ * Qt5.15.2-msvc2019-x64
74+
75+ ### MacOS
76+
77+ MacOS平台以macos-10.15为主, 11.0存在一些问题,尚未解决,暂不公开。
78+
79+ Qt版本包括:
80+
81+ * Qt 5.9.9
82+ * Qt 5.12.10
83+ * Qt 5.15.2
84+
85+ 架构都是clang_64
86+
87+ ### Ubuntu
88+
89+ Ubuntu平台的支持情况如下:
90+
91+ ubuntu-18.04
92+
93+ * Qt 5.9.9
94+ * Qt 5.12.10
95+ * Qt 5.15.2
96+
97+ ubuntu-20.04
98+
99+ * Qt 5.9.9
100+ * Qt 5.12.10
101+ * Qt 5.15.2
102+
103+ 架构都是gcc_64
104+
105+ ### 打包脚本
106+
107+ 目前仅提供Windows平台和MacOS平台的打包配置,其它平台使用频率不高,未做支持。
108+
109+ MacOS平台是简单的 macdeployqt命令调用,生成的dmg上传。
110+
111+ Windows平台做的比较到位,实现了自动化发布脚本,可以参考scripts/windows-publish.ps1
112+
113+
114+ 调用windeployqt命令后,还会拷贝编译器的vcredist相关dll和windows kit运行时
115+
116+ dll,以此来保证在大部分Windows环境都能正常运行。
117+
118+ 运行时相关的dll文件数量多,但是体积加起来并不大。
119+
120+ 笔者经历过一些特殊的windows环境,无法通过redist.exe正确安装运行时。
121+
122+ 所以带上全套的dll是一个万能的解决方案。
56123
57124## 原理
58125
You can’t perform that action at this time.
0 commit comments