qt@5 (deprecated)

Disable date: 2027-05-19

Install command:
brew install qt@5

Also known as: qt5

Cross-platform application and UI framework

https://www.qt.io/

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

Development: Pull requests

Formula JSON API: /api/formula/qt@5.json

Formula code: qt@5.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.15.19

Patches:

https://invent.kde.org/qt/qt/qtlocation-mapboxgl/-/commit/5a07e1967dcc925d9def47accadae991436b9686
https://bugs.gentoo.org/attachment.cgi?id=916782
https://github.com/boostorg/mpl/commit/8499ae7e4ff0cf798367ebe6ea9fb991aa43db6c
https://github.com/boostorg/mpl/commit/fb6b861834e29a93ba71a2e2501a42ecfd3c5655
https://salsa.debian.org/qt-kde-team/qt/qtlocation/-/raw/4ec161bda76cd4c80d2e50fff223a94594cc6b4c/debian/patches/gcc_13.diff

Keg-only because this is an alternate version of another formula.

Depends on:

freetype 2.15.0 Software library to render fonts
glib 2.90.1 Core application library for C
jpeg-turbo 3.2.1 JPEG image codec that aids compression and decompression
libpng 1.6.59 Library for manipulating PNG images
libtiff 4.7.2 TIFF library and utilities
md4c 0.6.0 C Markdown parser. Fast. SAX-like interface
pcre2 10.49 Perl compatible regular expressions library with a new API
sqlite 3.54.1 Command-line interface for SQLite
webp 1.6.0 Image format providing lossless and lossy compression for web images
zstd 1.5.7 Zstandard is a real-time compression algorithm
gettext 1.0 GNU internationalization (i18n) and localization (l10n) library

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit

Uses from macOS: python (build), krb5

Requires: Xcode (build)

Conflicts with: qt3d (because both link conflicting binaries), qtbase (because both link conflicting binaries), qtcharts (because both link conflicting binaries), qtconnectivity (because both link conflicting binaries), qtdatavis3d (because both link conflicting binaries), qtdeclarative (because both link conflicting binaries), qtmultimedia (because both link conflicting binaries), qtnetworkauth (because both link conflicting binaries), qtpositioning (because both link conflicting binaries), qtquick3d (because both link conflicting binaries), qtremoteobjects (because both link conflicting binaries), qtscxml (because both link conflicting binaries), qtsensors (because both link conflicting binaries), qtserialport (because both link conflicting binaries), qtspeech (because both link conflicting binaries), qtsvg (because both link conflicting binaries), qttools (because both link conflicting binaries), qtwebchannel (because both link conflicting binaries), qtwebsockets (because both link conflicting binaries)

Binaries: assistant, balsam, canbusutil, designer, fixqt4headers.pl, lconvert, linguist, lprodump, lrelease, lrelease-pro, lupdate, lupdate-pro, meshdebug, moc, pixeltool, qcollectiongenerator, qdbus, qdbuscpp2xml, qdbusviewer, qdbusxml2cpp, qdistancefieldgenerator, qgltf, qhelpgenerator, qlalr, qmake, qml, qmlcachegen, qmleasing, qmlformat, qmlimportscanner, qmllint, qmlmin, qmlplugindump, qmlpreview, qmlprofiler, qmlscene, qmltestrunner, qmltime, qmltyperegistrar, qscxmlc, qtattributionsscanner, qtdiag, qtpaths, qtplugininfo, qtwaylandscanner, qvkgen, rcc, repc, syncqt.pl, tracegen, uic, xmlpatterns, xmlpatternsvalidator

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.

GitHub Packages downloads:

Last 30 days39,570
Downloads9,151,592
Analytics install events (30 days)1,887
Downloads / install events (30 days)21.0×

Source: GitHub Packages, fetched 2026-11-09T00:53:49Z. Analytics dates: 2026-10-10 to 2026-11-09. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs1,8836,65058,538
Installs (--HEAD)41053
Installs on Request1,1194,29338,567
Installs on Request (--HEAD)4950
Build Errors2