mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-04-20 18:01:09 +08:00
20 lines
773 B
Markdown
20 lines
773 B
Markdown
# FluentUI 脚手架开发说明
|
||
|
||
## 编译说明
|
||
|
||
macos请给整个项目路径权限,不然可能会导致编译失败,缺少权限
|
||
|
||
## 代码说明
|
||
|
||
文件编码格式请用utf-8不带bom,代码中最好不要含有中文(包括注释),中文可能会改变文件格式导致编译失败,还会出现乱码,显示中文请用国际化,c++中用tr函数,qml中用qsTr函数
|
||
|
||
### 脚本说明
|
||
|
||
1. **Script-UpdateTranslations**
|
||
|
||
用于更新ts与qm文件,当你的代码添加了tr或者qsTr函数后,执行这个脚本会更新ts文件,然后编写翻译后,再执行这个脚本,qm文件会更新生效
|
||
|
||
2. **Script-DeployRelease**
|
||
|
||
执行Qt的windeployqt或macdeployqt命令,这个脚本只在windows与macos才有,linux不支持
|