# Install qt@5 with Homebrew, dnf, MacPorts, Nix, apt, zypper, scoop

Cross-platform application and UI framework. Version 5.15.19 via Homebrew; verified 2026-06-22.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install qt5
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install qt5-filesystem
```

  Evidence: Fedora Rawhide package metadata: qt5-filesystem from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

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

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

- Debian apt (92%):

```sh
sudo apt install moc
```

  Evidence: Debian stable package indexes: moc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install moc
```

  Evidence: openSUSE Tumbleweed package metadata: moc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/rcc
```

  Evidence: Scoop official bucket manifest trees: bucket/rcc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:qt@5
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/qt@5>
- **Version:** 5.15.19
- **Source summary:** Cross-platform application and UI framework
- **Homepage:** <https://www.qt.io/>
- **Repository:** <https://code.qt.io/cgit/qt/qt5.git>
- **Upstream docs:** <https://doc.qt.io/qt-5>
- **License:** GFDL-1.3-only AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only
- **Source archive:** <https://download.qt.io/archive/qt/5.15/5.15.19/single/qt-everywhere-opensource-src-5.15.19.tar.xz>
- **Last updated:** 2026-06-22T14:06:06-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- fixqt4headers.pl (cli)
- lprodump (cli)
- moc (cli)
- qcollectiongenerator (cli)
- qgltf (cli)
- qhelpgenerator (cli)
- qlalr (cli)
- qmlcachegen (cli)
- qmlimportscanner (cli)
- qmlmin (cli)
- qmltyperegistrar (cli)
- qscxmlc (cli)
- qtattributionsscanner (cli)
- qtwaylandscanner (cli)
- qvkgen (cli)
- rcc (cli)
- repc (cli)
- syncqt.pl (cli)
- tracegen (cli)
- uic (cli)
- xmlpatterns (cli)
- xmlpatternsvalidator (cli)
- fixqt4headers.pl (alias)
- lprodump (alias)
- moc (alias)
- qcollectiongenerator (alias)
- qgltf (alias)
- qhelpgenerator (alias)
- qlalr (alias)
- qmlcachegen (alias)
- qmlimportscanner (alias)
- qmlmin (alias)
- qmltyperegistrar (alias)
- qscxmlc (alias)
- qtattributionsscanner (alias)
- qtwaylandscanner (alias)
- qvkgen (alias)
- rcc (alias)
- repc (alias)
- syncqt.pl (alias)
- tracegen (alias)
- uic (alias)
- xmlpatterns (alias)
- xmlpatternsvalidator (alias)

## Dependencies

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

## Build dependencies

- pkgconf

## Uses from macOS

- krb5

## Install behavior

- Post-install hook: not defined
- 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: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.15.19
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://www.qt.io/
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for qt@5. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** qt@5
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** qt3d, qtbase, qtcharts, qtconnectivity, qtdatavis3d, qtdeclarative, qtmultimedia, qtnetworkauth, qtpositioning, qtquick3d, qtremoteobjects, qtscxml, qtsensors, qtserialport, qtspeech, qtsvg
- **Requirements:** xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- MacPorts - moc: installed executable or alias match | MacPorts ports tree: multimedia/moc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- MacPorts - qt5: package manager index match | MacPorts ports tree: aqua/qt5/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - moc - 1:2.6.0~svn-r3005-6+b1: installed executable or alias match | Debian stable package indexes: moc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ncurses based console audio player | https://moc.daper.net
- Debian apt - moc-ffmpeg-plugin - 1:2.6.0~svn-r3005-6+b1: installed executable or alias match | Debian stable package indexes: moc-ffmpeg-plugin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ncurses based console audio player - ffmpeg plugin | https://moc.daper.net
- Nix - moc: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/mo/moc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - qt5: package manager index match | nixpkgs package indexes: qt5 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - moc - 1:2.6.0~svn-r3005-3.1build5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: moc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ncurses based console audio player | https://moc.daper.net
- Ubuntu apt - moc-ffmpeg-plugin - 1:2.6.0~svn-r3005-3.1build5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: moc-ffmpeg-plugin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ncurses based console audio player - ffmpeg plugin | https://moc.daper.net
- dnf - qt5-filesystem - 5.15.18-2.fc44: package manager index match | Fedora Rawhide package metadata: qt5-filesystem from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Filesystem for Qt 5 packages | https://getfedora.org/
- dnf - qt5-rpm-macros - 5.15.18-2.fc44: package manager index match | Fedora Rawhide package metadata: qt5-rpm-macros from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | RPM macros for building Qt5 and KDE Frameworks 5 packages | https://getfedora.org/
- dnf - qt5-srpm-macros - 5.15.18-2.fc44: package manager index match | Fedora Rawhide package metadata: qt5-srpm-macros from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | RPM macros for source Qt5 packages | https://getfedora.org/
- zypper - moc - 2.6.0~svn2994-8.2: installed executable or alias match | openSUSE Tumbleweed package metadata: moc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Console audio player | http://moc.daper.net/
- Scoop - main/rcc: installed executable or alias match | Scoop official bucket manifest trees: bucket/rcc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- dnf - qt - 4.8.7-84.fc45: versioned package alias match | Fedora Rawhide package metadata: qt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Qt toolkit | http://qt-project.org/
- dnf - qt-assistant - 4.8.7-84.fc45: versioned package alias match | Fedora Rawhide package metadata: qt-assistant from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Documentation browser for Qt 4 | http://qt-project.org/
- dnf - qt-common - 4.8.7-84.fc45: versioned package alias match | Fedora Rawhide package metadata: qt-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Common files for Qt | http://qt-project.org/


## Related links

- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched curated package taxonomy and local package facts.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [libtiff](https://www.automicvault.com/pkg/brew/libtiff/) - Runtime dependency declared by Homebrew.
- [md4c](https://www.automicvault.com/pkg/brew/md4c/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [carla](https://www.automicvault.com/pkg/brew/carla/) - Popular package that depends on this formula.
- [color-code](https://www.automicvault.com/pkg/brew/color-code/) - Popular package that depends on this formula.
- [dspdfviewer](https://www.automicvault.com/pkg/brew/dspdfviewer/) - Popular package that depends on this formula.
- [gnuradio](https://www.automicvault.com/pkg/brew/gnuradio/) - 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.
- [pyqt@5](https://www.automicvault.com/pkg/brew/pyqt-5/) - 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/) - Local package facts share a topical domain. Shared terms: cross, cross-platform, framework, freetype, glib.
- [wxwidgets](https://www.automicvault.com/pkg/brew/wxwidgets/) - Local package facts share a topical domain. Shared terms: cross, cross-platform, jpeg, jpeg-turbo, libpng.

## Combined YAML source

View the package source record on GitHub. [combined/qt@5.yml](https://github.com/automic-vault/db/blob/main/combined/qt@5.yml)


## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
