File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 11class Qtbase < Formula
22 desc "Cross-platform application and UI framework"
33 homepage "https://www.qt.io/"
4+ # TODO: add `preserve_rpath` DSL in Qt 6.11.0 to Qt formulae
45 url "https://download.qt.io/official_releases/qt/6.9/6.9.3/submodules/qtbase-everywhere-src-6.9.3.tar.xz"
56 mirror "https://qt.mirror.constant.com/archive/qt/6.9/6.9.3/submodules/qtbase-everywhere-src-6.9.3.tar.xz"
67 mirror "https://mirrors.ukfast.co.uk/sites/qt.io/archive/qt/6.9/6.9.3/submodules/qtbase-everywhere-src-6.9.3.tar.xz"
@@ -205,12 +206,21 @@ def install
205206 end
206207
207208 def caveats
208- <<~CAVEATS
209+ s = <<~CAVEATS
209210 You can add Homebrew's Qt to QtCreator's "Qt Versions" in:
210211 Preferences > Qt Versions > Link with Qt...
211212 pressing "Choose..." and selecting as the Qt installation path:
212213 #{ HOMEBREW_PREFIX }
213214 CAVEATS
215+ on_macos do
216+ s += <<~CAVEATS
217+
218+ We plan to build Qt 6.11 with the `@rpath`-prefixed install names preserved,
219+ which may require adding an RPATH into non-QMake-built binaries. Please see:
220+ https://github.com/Homebrew/brew/issues/15354
221+ CAVEATS
222+ end
223+ s
214224 end
215225
216226 test do
You can’t perform that action at this time.
0 commit comments