Skip to content

Commit

Permalink
fix: fix qt doc
Browse files Browse the repository at this point in the history
  • Loading branch information
RalXYZ committed Sep 9, 2024
1 parent f3ad3e5 commit 65e5f51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/zh/qt.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
mirrorId: qt
---

## 全新安装
### 全新安装

通过以下链接下载安装器:

```
```properties
https://mirrors.zju.edu.cn/qt/official_releases/online_installers/
```

通过以下命令使安装器从镜像源下载文件:

```
```bash
# windows
installer.exe --mirror https://mirrors.zju.edu.cn/qt
# linux
installer --mirror https://mirrors.zju.edu.cn/qt
```

## 添加、更改或升级组件
### 添加、更改或升级组件

```
```bash
# windows
MaintenanceTool.exe --mirror https://mirrors.zju.edu.cn/qt
# linux
Expand Down
3 changes: 3 additions & 0 deletions src/utils/title-mirror-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import npmIcon from '@iconify/icons-simple-icons/npm';
import openSuseIcon from '@iconify/icons-simple-icons/opensuse';
import openWrtIcon from '@iconify/icons-simple-icons/openwrt';
import pythonIcon from '@iconify/icons-simple-icons/python';
import qtIcon from '@iconify/icons-simple-icons/qt';
import raspberryPiIcon from '@iconify/icons-simple-icons/raspberrypi';
import rLanguageIcon from '@iconify/icons-mdi/language-r';
import rockyIcon from '@iconify/icons-simple-icons/rockylinux';
Expand Down Expand Up @@ -98,6 +99,8 @@ export default function TitleMirrorIcon(
return <Icon height={size} icon={openWrtIcon} color={color} />;
case 'pypi':
return <Icon height={size} icon={pythonIcon} color={color} />;
case 'qt':
return <Icon height={size} icon={qtIcon} color={color} />;
case 'raspberrypi':
return <Icon height={size} icon={raspberryPiIcon} color={color} />;
case 'raspbian':
Expand Down

0 comments on commit 65e5f51

Please sign in to comment.