]> granicus.if.org Git - graphviz/commitdiff
CI: replicate Qt tweak explanation from one macOS file into another
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 23 Mar 2022 03:39:41 +0000 (20:39 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 29 Mar 2022 23:43:45 +0000 (16:43 -0700)
Makes it slightly less cryptic to the reader why these steps are being done.

ci/install-runtime-dependencies-macos.sh

index 395e6947352f7c05ce26365b09945e6de08371b6..ab343ada2b6fce8615f040a543a3151abc3538fc 100644 (file)
@@ -8,10 +8,26 @@ set -x
 brew update
 brew install pango || brew upgrade pango
 brew install qt5 || brew upgrade qt5
+
+# quoting Homebrew:
+#
+#   qt@5 is keg-only, which means it was not symlinked into /usr/local,
+#   because this is an alternate version of another formula.
+#
+#   If you need to have qt@5 first in your PATH, run:
+#     echo 'export PATH="/usr/local/opt/qt@5/bin:$PATH"' >> ~/.zshrc
+#
+#   For compilers to find qt@5 you may need to set:
+#     export LDFLAGS="-L/usr/local/opt/qt@5/lib"
+#     export CPPFLAGS="-I/usr/local/opt/qt@5/include"
+#
+#   For pkg-config to find qt@5 you may need to set:
+#     export PKG_CONFIG_PATH="/usr/local/opt/qt@5/lib/pkgconfig"
 export PATH="/usr/local/opt/qt@5/bin:$PATH"
 export LDFLAGS="-L/usr/local/opt/qt@5/lib"
 export CPPFLAGS="-I/usr/local/opt/qt@5/include"
 export PKG_CONFIG_PATH="/usr/local/opt/qt@5/lib/pkgconfig"
+
 brew install libxaw || brew upgrade libxaw
 
 # install MacPorts for libANN