# 使用 Homebrew, dnf 安装 qt

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install qt
```

  证据: local Homebrew formula metadata

### Linux

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:qt
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/qt>
- **版本:** 6.11.1
- **来源摘要:** Cross-platform application and UI framework
- **主页:** <https://www.qt.io/>
- **上游文档:** <https://www.qt.io/>
- **许可证:** BSD-3-Clause AND GFDL-1.3-no-invariants-only AND GPL-2.0-only AND (GPL-3.0-only WITH Qt-GPL-exception-1.0) AND LGPL-3.0-only
- **源码归档:** <https://download.qt.io/official_releases/qt/6.11/6.11.1/submodules/md5sums.txt>
- **最后更新:** 2026-06-25T13:38:05+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- assistant (cli)
- balsam (cli)
- balsamui (cli)
- canbusutil (cli)
- cooker (cli)
- designer (cli)
- instancer (cli)
- lcheck (cli)
- lconvert (cli)
- lightmapviewer (cli)
- linguist (cli)
- lottietoqml (cli)
- lrelease (cli)
- lrelease-pro (cli)
- ltext2id (cli)
- lupdate (cli)
- lupdate-pro (cli)
- materialeditor (cli)
- meshdebug (cli)
- particleshadergen (cli)
- pixeltool (cli)
- qcshadergen (cli)
- qdbus (cli)
- qdbusviewer (cli)
- qdistancefieldgenerator (cli)
- qml (cli)
- qmlcontextpropertydump (cli)
- qmldom (cli)
- qmleasing (cli)
- qmlformat (cli)
- qmllint (cli)
- qmlls (cli)
- qmlplugindump (cli)
- qmlpreview (cli)
- qmlprofiler (cli)
- qmlscene (cli)
- qmltc (cli)
- qmltestrunner (cli)
- qmltime (cli)
- qqem (cli)
- qsb (cli)
- qtdiag (cli)
- qtdiag6 (cli)
- qtplugininfo (cli)
- shadergen (cli)
- shapegen (cli)
- svgtoqml (cli)
- assistant (别名)
- balsam (别名)
- balsamui (别名)
- canbusutil (别名)
- cooker (别名)
- designer (别名)
- instancer (别名)
- lcheck (别名)
- lconvert (别名)
- lightmapviewer (别名)
- linguist (别名)
- lottietoqml (别名)
- lrelease (别名)
- lrelease-pro (别名)
- ltext2id (别名)
- lupdate (别名)
- lupdate-pro (别名)
- materialeditor (别名)
- meshdebug (别名)
- particleshadergen (别名)
- pixeltool (别名)
- qcshadergen (别名)
- qdbus (别名)
- qdbusviewer (别名)
- qdistancefieldgenerator (别名)
- qml (别名)
- qmlcontextpropertydump (别名)
- qmldom (别名)
- qmleasing (别名)
- qmlformat (别名)
- qmllint (别名)
- qmlls (别名)
- qmlplugindump (别名)
- qmlpreview (别名)
- qmlprofiler (别名)
- qmlscene (别名)
- qmltc (别名)
- qmltestrunner (别名)
- qmltime (别名)
- qqem (别名)
- qsb (别名)
- qtdiag (别名)
- qtdiag6 (别名)
- qtplugininfo (别名)
- shadergen (别名)
- shapegen (别名)
- svgtoqml (别名)

## 依赖

- qt3d
- qt5compat
- qtbase
- qtcanvaspainter
- qtcharts
- qtconnectivity
- qtdatavis3d
- qtdeclarative
- qtgraphs
- qtgrpc
- qthttpserver
- qtimageformats
- qtlanguageserver
- qtlocation
- qtlottie
- qtmultimedia
- qtnetworkauth
- qtpositioning
- qtquick3d
- qtquick3dphysics
- qtquickeffectmaker
- qtquicktimeline
- qtremoteobjects
- qtscxml
- qtsensors
- qtserialbus
- qtserialport
- qtshadertools
- qtspeech
- qtsvg
- qttasktree
- qttools
- qttranslations
- qtvirtualkeyboard
- qtwebchannel
- qtwebengine
- qtwebsockets
- qtwebview

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 6.11.1
- 管理器更新时间: 2026-06-25
- 本地数据: OK
- 上游仓库: https://www.qt.io/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

没有找到 qt 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** qt
- **Aliases:** qt6, qt@6
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- dnf - qt - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Qt toolkit | http://qt-project.org/
- dnf - qt-assistant - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-assistant from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Documentation browser for Qt 4 | http://qt-project.org/
- dnf - qt-common - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Common files for Qt | http://qt-project.org/
- dnf - qt-config - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-config from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Graphical configuration tool for programs using Qt 4 | http://qt-project.org/
- dnf - qt-demos - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-demos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Demonstration applications for qt | http://qt-project.org/
- dnf - qt-devel - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for the Qt toolkit | http://qt-project.org/
- dnf - qt-devel-private - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-devel-private from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Private headers for Qt toolkit | http://qt-project.org/
- dnf - qt-doc - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | API documentation for qt | http://qt-project.org/
- dnf - qt-examples - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-examples from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Programming examples for qt | http://qt-project.org/
- dnf - qt-mysql - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-mysql from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | MySQL driver for Qt's SQL classes | http://qt-project.org/
- dnf - qt-odbc - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-odbc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | ODBC driver for Qt's SQL classes | http://qt-project.org/
- dnf - qt-postgresql - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-postgresql from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | PostgreSQL driver for Qt's SQL classes | http://qt-project.org/
- dnf - qt-qdbusviewer - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-qdbusviewer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | D-Bus debugger and viewer | http://qt-project.org/
- dnf - qt-qvfb - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-qvfb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Virtual frame buffer for Qt for Embedded Linux | http://qt-project.org/
- dnf - qt-tds - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-tds from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | TDS driver for Qt's SQL classes | http://qt-project.org/
- dnf - qt-x11 - 4.8.7-84.fc45: normalized package name match | Fedora Rawhide package metadata: qt-x11 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Qt GUI-related libraries | http://qt-project.org/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [qtbase](https://pkg.so/zh-hans/brew/qtbase/) - Runtime dependency declared by Homebrew.
- [qt@5](https://pkg.so/zh-hans/brew/qt-5/) - Package name indicates the same formula family.
- [pyqt](https://pkg.so/zh-hans/brew/pyqt/) - Shares pkgdb curated category or tags: cli, developer-tools, gui, gui-framework, qt.
- [pyside](https://pkg.so/zh-hans/brew/pyside/) - Shares pkgdb curated category or tags: cli, developer-tools, gui, gui-framework, qt.
- [fltk](https://pkg.so/zh-hans/brew/fltk/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools, gui.
- [fox](https://pkg.so/zh-hans/brew/fox/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools, gui.
- [wxwidgets@3.2](https://pkg.so/zh-hans/brew/wxwidgets-3-2/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools.
- [wxwidgets](https://pkg.so/zh-hans/brew/wxwidgets/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/qt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/qt.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
