Skip to content

Commit ae1f993

Browse files
authored
Merge pull request #255907 from Homebrew/qtbase-caveat
qtbase: caveat for future `@rpath` changes
2 parents 1d6b67f + 92223d4 commit ae1f993

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Formula/q/qtbase.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
class 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

0 commit comments

Comments
 (0)