# 安装 qt@5

查看 qt@5 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:qt@5
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install qt@5
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install qt5
```

  证据: MacPorts ports tree: aqua/qt5/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#qt5
```

  证据: nixpkgs package indexes: qt5 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- dnf (92%):

```sh
sudo dnf install qt
```

  证据: Fedora Rawhide package metadata: qt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:qt@5
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/qt@5>
- **版本:** 5.15.19
- **来源摘要:** Cross-platform application and UI framework
- **主页:** <https://www.qt.io/>
- **上游文档:** <https://www.qt.io/>
- **许可证:** GFDL-1.3-only AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only
- **源码归档:** <https://download.qt.io/archive/qt/5.15/5.15.19/single/qt-everywhere-opensource-src-5.15.19.tar.xz>
- **更新:** 2026-05-18T23:19:50Z
- **生成来源:** 2026-05-26T22:45:13+00:00

## 依赖

- freetype
- gettext
- glib
- jpeg-turbo
- libpng
- libtiff
- md4c
- pcre2
- sqlite
- webp
- zstd

## 构建依赖

- pkgconf

## macOS 提供的库

- krb5

## 安装行为

- post-install 钩子: 未定义
- Caveats: We agreed to the Qt open source license for you. If this is unacceptable you should uninstall. You can add Homebrew's Qt to QtCreator's "Qt Versions" in: Preferences > Qt Versions > Link with Qt... pressing "Choose..." and selecting as the Qt installation path: $HOMEBREW_PREFIX/opt/qt@5 QtWebEngine is no longer included as its Chromium has unfixed vulnerabilities.
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 5.15.19
- 管理器更新时间: 2026-05-18
- 本地数据: ok
- 上游仓库: https://www.qt.io/
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

no executable entrypoint in the package index.

- **Geiger 风险:** green / low
- no executable entrypoint in the package index

## 相关链接

- [sqlite](https://www.automicvault.com/pkg/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libtiff](https://www.automicvault.com/pkg/brew/libtiff/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [pyqt@5](https://www.automicvault.com/pkg/brew/pyqt-5/) - Popular package that depends on this formula.
- [poppler-qt5](https://www.automicvault.com/pkg/brew/poppler-qt5/) - Popular package that depends on this formula.
- [gnuradio](https://www.automicvault.com/pkg/brew/gnuradio/) - Popular package that depends on this formula.
- [qwt-qt5](https://www.automicvault.com/pkg/brew/qwt-qt5/) - Popular package that depends on this formula.
- [mgba](https://www.automicvault.com/pkg/brew/mgba/) - Popular package that depends on this formula.
- [morpheus](https://www.automicvault.com/pkg/brew/morpheus/) - Popular package that depends on this formula.
- [dspdfviewer](https://www.automicvault.com/pkg/brew/dspdfviewer/) - Popular package that depends on this formula.
- [carla](https://www.automicvault.com/pkg/brew/carla/) - Popular package that depends on this formula.
- [qt](https://www.automicvault.com/pkg/brew/qt/) - Package name indicates the same formula family.
- [qtbase](https://www.automicvault.com/pkg/brew/qtbase/) - Shares the same upstream homepage.
- [qtsvg](https://www.automicvault.com/pkg/brew/qtsvg/) - Shares the same upstream homepage.
- [qtdeclarative](https://www.automicvault.com/pkg/brew/qtdeclarative/) - Shares the same upstream homepage.
- [qtgrpc](https://www.automicvault.com/pkg/brew/qtgrpc/) - Shares the same upstream homepage.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
