From 85b351ced7d78e5355cac26f3a5f4d82a76e6972 Mon Sep 17 00:00:00 2001 From: B13nch3n <stefan.bienert@me.com> Date: Tue, 2 Jul 2019 00:14:51 +0200 Subject: [PATCH] SCHWED-3977: Explain how to find Qt by CMake for macOS. --- modules/doc/install.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/doc/install.rst b/modules/doc/install.rst index cae872a7c..bf55767d0 100644 --- a/modules/doc/install.rst +++ b/modules/doc/install.rst @@ -322,13 +322,20 @@ If you want to build the info module or the graphical user interface, make sure you have the Xcode app installed. Just the Xcode command line tools which are sufficient for Homebrew, will not work with Qt5. -Before running CMake, an environment variable needs to be set on the command +Before running CMake, some environment variables need to be set on the command line. If omitted, the linker will throw a bunch of warnings later: .. code-block:: bash export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk +If building the info module or with graphical user interface, get the Qt +binaries in your Path for CMake to determine its configuration: + +.. code-block:: bash + + export PATH="/usr/local/opt/qt/bin:$PATH" + Homebrew installs all the software under /usr/local. Thus we have to tell cmake where to find Boost and Python. Also the Python headers and libraries are not located as they are on Linux and hence they must be specified too: -- GitLab