Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix qt doc #92

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading