From e129bd7b3529201b3a2859bc5036ada96cb5dde6 Mon Sep 17 00:00:00 2001 From: Dmitry Anisimov Date: Mon, 14 Jun 2021 20:00:25 +0200 Subject: [PATCH 1/3] macos qt5 guide installation update --- Documentation/doc/Documentation/Usage.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/doc/Documentation/Usage.txt b/Documentation/doc/Documentation/Usage.txt index eba087fdaa6..8c5e4015b10 100644 --- a/Documentation/doc/Documentation/Usage.txt +++ b/Documentation/doc/Documentation/Usage.txt @@ -166,10 +166,10 @@ if no debugging is intended. Users should thus run: cd CGAL-\cgalReleaseNumber/examples/Triangulation_2 cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -DCMAKE_BUILD_TYPE=Release . # we are here using a release tarball -Note that the package Qt on brew is "keg-only", which means it cannot be "linked" with brew. +After the Qt6 is released, the package Qt5 on brew is "keg-only", which means it is not "linked" with brew. You will have to specify the Qt5_DIR by hand to cmake, using something like - -DQt5_DIR=/usr/local/opt/qt/lib/cmake/Qt5 + -DQt5_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5 where '/usr/local/` is actually your current brew installation directory. From d2974c44b70265cd523737cf6b992fdb9c68055f Mon Sep 17 00:00:00 2001 From: Dmitry Anisimov Date: Mon, 14 Jun 2021 20:10:58 +0200 Subject: [PATCH 2/3] better description --- Documentation/doc/Documentation/Usage.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/doc/Documentation/Usage.txt b/Documentation/doc/Documentation/Usage.txt index 8c5e4015b10..d7401578794 100644 --- a/Documentation/doc/Documentation/Usage.txt +++ b/Documentation/doc/Documentation/Usage.txt @@ -167,11 +167,16 @@ if no debugging is intended. Users should thus run: cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -DCMAKE_BUILD_TYPE=Release . # we are here using a release tarball After the Qt6 is released, the package Qt5 on brew is "keg-only", which means it is not "linked" with brew. -You will have to specify the Qt5_DIR by hand to cmake, using something like +In order to link against Qt5, you need to run: - -DQt5_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5 + brew link qt@5 -where '/usr/local/` is actually your current brew installation directory. +After that, you will have to specify the Qt5_DIR by hand to cmake, using something like + + -DQt5_DIR=/usr/local/opt/qt5/lib/cmake/Qt5 + +where '/usr/local/` is actually your current brew installation directory. Check this directory +to be sure where the Qt5 is placed on your machine. \subsection usage_configuring_cmake_gui Specifying Missing Dependencies From 86730d9555070e3fd07397af6112e4d5ac090030 Mon Sep 17 00:00:00 2001 From: Dmitry Anisimov Date: Tue, 15 Jun 2021 10:07:14 +0200 Subject: [PATCH 3/3] Update Documentation/doc/Documentation/Usage.txt Co-authored-by: Sebastien Loriot --- Documentation/doc/Documentation/Usage.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doc/Documentation/Usage.txt b/Documentation/doc/Documentation/Usage.txt index d7401578794..1dff258b8e1 100644 --- a/Documentation/doc/Documentation/Usage.txt +++ b/Documentation/doc/Documentation/Usage.txt @@ -166,7 +166,7 @@ if no debugging is intended. Users should thus run: cd CGAL-\cgalReleaseNumber/examples/Triangulation_2 cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -DCMAKE_BUILD_TYPE=Release . # we are here using a release tarball -After the Qt6 is released, the package Qt5 on brew is "keg-only", which means it is not "linked" with brew. +The package Qt5 on brew is "keg-only", which means it is not "linked" with brew. In order to link against Qt5, you need to run: brew link qt@5